News for hackers. Stuff that matters.
Re:What's new in PHP 8? by andreygrehov on Friday August 14, 2020 @02:58AM (#24154669)
If one doesn't know the language, they can write shitty code, regardless whether it's C or PHP. Any decent PHP programmer knows about the `===` operator that doesn't do any type juggling.
Re:What's new in PHP 8? by tyingq on Friday August 14, 2020 @08:14AM (#24156857)
This problem isnt really fixed with === per se. Converting strings to numbers is a common need, and the weird type conversation here is broken (and being fixed) for more than just implicit conversions in comparisons.

The PHP team is calling it "saner numeric strings"...seems to indicate they agree.