note 29011 deleted from function.is-array by sniper
| From: | sniper@php.net | Date: | Sat, 23 Aug 2003 00:29:57 +0000 |
| Subject: | note 29011 deleted from function.is-array by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54930@lists.php.net to get a copy of this message | ||
Note Submitter: syncro@outgun.com
----
I have noticed that is_array() acts a bit weird when the argument is an expression, rather than a
variable. Working with a multilevel nested array, is_array($bigArray[$part]) does not return what it
should, but $column=$bigArray[$part]; and then is_array($column) does the job fine...
It looks like this might happen with other is_* functions as well.