Hi, On Fri, Mar 25, 2016 at 6:25 AM, Björn Larsson <[email protected]> wrote: > Came to think on a conversation with Sara G last year about introducing > the following operators, namely >==, <== & <==> working exactly like the > existing ones but without type juggling.
>==, <== were not introduced because results are not useful. For instance, (10 >== "0") === false does not make much sense with PHP. It would not solve problem, but creates new hard to debug problem. However, raising errors and (10 >== "0") === null make sense. IMO. Regards, -- Yasuo Ohgaki [email protected] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
