Re: function for size of array
| From: | Terence Kearns | Date: | Fri, 05 Jul 2002 14:18:16 +0000 |
| Subject: | Re: function for size of array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105657@lists.php.net to get a copy of this message | ||
Scott Fletcher wrote:
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 count($array);