note 48418 deleted from function.in-array by felipe
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter:
----
Please note this very ridiculous behaviour:
in_array('123abc', array(123)) returns true
in_array('123abc', array('123')) returns false
I guess this is because it is converting '123abc' to an int.