function for size of array
| From: | Scott Fletcher | Date: | Fri, 05 Jul 2002 14:15:55 +0000 |
| Subject: | function for size of array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105653@lists.php.net to get a copy of this message | ||
Is there PHP function that would get the total array count.
ie
--snip--
$array[0] = "zero";
$array[1] = "one";
$array[2] = "two";
$array_count = <function to get the array count>
--snip--
And I would get 3 as an answer.
Thanks,
FletchSOD