@IceWolf @woozle some of us are pushing PHP to be better.
JS has the problem that you do not know what the client will be running.
But improving comparisons is something I want to work sooner than later, but it requires some rework at the engine level. Incredibly early draft is here https://github.com/Girgias/php-rfcs/blob/master/comparison-equality-semantics.md
@Girgias @IceWolf @woozle If this particular example were changed to `===` (i.e., the identity operator, strict comparison), would it still evaluate to `true`?
I have a coding standards rule to always use strict comparison.