RE: [PHP] function for size of array
| From: | Cal Evans | Date: | Fri, 05 Jul 2002 14:45:42 +0000 |
| Subject: | RE: [PHP] function for size of array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105662@lists.php.net to get a copy of this message | ||
size_of()
(insert obligatory RTFM comment here)
=C=
*
* Cal Evans
* The Virtual CIO
* http://www.calevans.com
*
-----Original Message-----
From: Scott Fletcher [mailto:scott@abcoa.com]
Sent: Friday, July 05, 2002 9:16 AM
To: php-general@lists.php.net
Subject: [PHP] function for size of array
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php