note 94152 deleted from function.is-array by tularis

From: Date: Sun, 09 Oct 2011 09:30:16 +0000
Subject: note 94152 deleted from function.is-array by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-183746@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- If you would like to be able to check multiple variables at the same time, similar to isset, use the following: <?php function isarray() { $A = func_get_args(); foreach ($A as $k => $v) { if (!is_array($v)) { return false; } } return true; } ?>

« previous php.notes (#183746) next »