note 103836 deleted from function.in-array by danbrown
| From: | danbrown@php.net | Date: | Fri, 06 May 2011 02:32:08 +0000 |
| Subject: | note 103836 deleted from function.in-array by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-179475@lists.php.net to get a copy of this message | ||
Note Submitter: Mark
----
@Sascha Luedi
Not sure why you consider that strange behaviour, that is expected behaviour for in_array. Php will
convert the needle to an integer because you do not have the strict comparison arg added.