note 19882 deleted from function.count by philip

From: Date: Fri, 13 Dec 2002 00:30:37 +0000
Subject: note 19882 deleted from function.count by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40839@lists.php.net to get a copy of this message
Be careful using the function array_dimen_cnt() above because it will return incorrect results if the array mixes arrays and values at the same level. $multi = array("1"=>array(5, "2"=>array(3, 4))); Passing the above array returns an incorrect dimensional count of 2 because the first element in the second array in not an array.

« previous php.notes (#40839) next »