note 77093 added to types.comparisons
| From: | frank at osu1 dot php dot net | Date: | Tue, 14 Aug 2007 22:06:35 +0000 |
| Subject: | note 77093 added to types.comparisons | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129484@lists.php.net to get a copy of this message | ||
A comparison table for <=,<,=>,> would be nice...
Following are TRUE (tested PHP4&5):
NULL <= -1
NULL <= 0
NULL <= 1
!(NULL >= -1)
NULL >= 0
!(NULL >= 1)
That was a surprise for me (and it is not like SQL, I would like to have the option to have SQL
semantics with NULL...).
----
Server IP: 217.160.72.57
Probable Submitter: 195.62.99.203 (proxied: 82.141.53.86)
----
Manual Page -- http://www.php.net/manual/en/types.comparisons.php
Edit -- https://master.php.net/note/edit/77093
Del: integrated -- https://master.php.net/note/delete/77093/integrated
Del: useless -- https://master.php.net/note/delete/77093/useless
Del: bad code -- https://master.php.net/note/delete/77093/bad+code
Del: spam -- https://master.php.net/note/delete/77093/spam
Del: non-english -- https://master.php.net/note/delete/77093/non-english
Del: in docs -- https://master.php.net/note/delete/77093/in+docs
Del: other reasons-- https://master.php.net/note/delete/77093
Reject -- https://master.php.net/note/reject/77093
Search -- https://master.php.net/manage/user-notes.php