note 75860 added to language.operators.comparison
| From: | bretscher at 5sl dot org | Date: | Tue, 19 Jun 2007 14:28:38 +0000 |
| Subject: | note 75860 added to language.operators.comparison | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127787@lists.php.net to get a copy of this message | ||
To get rid of the '1' == '01' problem, which are definitely not the same in my
application, i also compare strlen in cases where these values can occure.
Like:
((mb_strlen($a) == mb_strlen($b)) && ($a == $b))
I have not yet found a way to use these values in a select case statement.
----
Server IP: 69.147.83.197
Probable Submitter: 84.150.152.250
----
Manual Page -- http://www.php.net/manual/en/language.operators.comparison.php
Edit -- https://master.php.net/note/edit/75860
Del: integrated -- https://master.php.net/note/delete/75860/integrated
Del: useless -- https://master.php.net/note/delete/75860/useless
Del: bad code -- https://master.php.net/note/delete/75860/bad+code
Del: spam -- https://master.php.net/note/delete/75860/spam
Del: non-english -- https://master.php.net/note/delete/75860/non-english
Del: in docs -- https://master.php.net/note/delete/75860/in+docs
Del: other reasons-- https://master.php.net/note/delete/75860
Reject -- https://master.php.net/note/reject/75860
Search -- https://master.php.net/manage/user-notes.php