note 8295 modified in count by ronabop
| From: | ronabop@php.net | Date: | Wed, 18 Oct 2000 04:59:01 +0000 |
| Subject: | note 8295 modified in count by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6628@lists.php.net to get a copy of this message | ||
If you want to disambiguate if a variable contains an array w/ only one element, just us is_array()
or gettype()
http://www.php.net/manual/function.count.php