Re: [RFC] Comparison and conversion inconsistency - need more info
| From: | Sanford Whiteman | Date: | Sun, 10 Nov 2013 09:07:19 +0000 |
| Subject: | Re: [RFC] Comparison and conversion inconsistency - need more info | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70074@lists.php.net to get a copy of this message | ||
> -----------------------------------
> if (-1 < NULL)
> echo 'NULL is smaller';
> else
> echo '-1 is smaller';
> -----------------------------------
> returns '-1 is smaller' as all of us expects.
Please go over the conditions and the echos in this example one more
time.
-- S.