note 8851 added to is_array
| From: | chido69 at hotmail dot com | Date: | Mon, 02 Oct 2000 08:56:14 +0000 |
| Subject: | note 8851 added to is_array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5811@lists.php.net to get a copy of this message | ||
let's say $one is an array and $two is not an array, if you do
$testone = is_array($one);
$testtwo = is_array($two);
echo $testone //this will echo 1
echo $testtwo //this will echo an empty space
so if it's an array it will return number one and if it's not it will return empty
http://www.php.net/manual/function.is-array.php