note 99298 added to language.operators.comparison
| From: | dantr at frenet dot net | Date: | Mon, 09 Aug 2010 16:51:39 +0000 |
| Subject: | note 99298 added to language.operators.comparison | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171494@lists.php.net to get a copy of this message | ||
why would you expect different strings to be evaluated as though they are the same? strip the
whitespace first, PHP's behaviour is correct, IMO.
----
Server IP: 69.147.83.197
Probable Submitter: 173.54.207.197
----
Manual Page -- http://www.php.net/manual/en/language.operators.comparison.php
Edit -- https://master.php.net/note/edit/99298
Del: integrated -- https://master.php.net/note/delete/99298/integrated
Del: useless -- https://master.php.net/note/delete/99298/useless
Del: bad code -- https://master.php.net/note/delete/99298/bad+code
Del: spam -- https://master.php.net/note/delete/99298/spam
Del: non-english -- https://master.php.net/note/delete/99298/non-english
Del: in docs -- https://master.php.net/note/delete/99298/in+docs
Del: other reasons-- https://master.php.net/note/delete/99298
Reject -- https://master.php.net/note/reject/99298
Search -- https://master.php.net/manage/user-notes.php