Today in PHP horibleness: mb_check_encoding() claims to check whethe the argument is valid for a given character encoding. What it *actually* checks is whether decoding and re-encoding it yields the original bytestring. Decoding some charsets (like ISO-2022-JP) is not injective.
-
-
got a link to the blog post?
-
I got u: https://marcan.st/2017/12/debugging-an-evil-go-runtime-bug/ … Was looking for it myself.
End of conversation
New conversation -
-
-
I used PHP a bunch in ~2003 era, and it's just a distant, uncouth memory; at the time I liked it but I sure wrote some shitty looking code that was hard to maintain Do people still use it?
-
Not only do people still use it, it's still receiving new features. It's like COBOL -- there's enough important business software written in PHP that it will never truly die.
End of conversation
New conversation -
-
-
oh for me that's C (and by extension pretty much everything else)
-
Language runtime, as in GCC or glibc? I don't really recall the last time I actually had to dig through the code of those (though I have stumbled upon a GCC but or two, but at least they were already fixed upstream)
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.