Top-level
4 comments
@preinheimer @woozle @IceWolf @cptwtf @ramsey @Crell yes, and frankly considering this premises comparing two strings as numerical makes _more_ sense than forcefully casting the string to an int, as it did prior to PHP 8. But more importantly `==` Vs `===` is a nothing burger. The behaviour of `==` is important because this is the behaviour used with the ordering operators (e.g. `=<`). And saying "eh just use `===`" kinda misses the point to why it is a problem. |
@preinheimer @Girgias @IceWolf @cptwtf @ramsey @Crell
Well, PHP has remedied many other decisions that later turned out to be problematic -- I'd say this one is definitely ready to take its turn ^.^