note 1032 modified in count by ronabop
| From: | ronabop@php.net | Date: | Wed, 04 Oct 2000 14:37:30 +0000 |
| Subject: | note 1032 modified in count by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6018@lists.php.net to get a copy of this message | ||
This functions does report the <B>count</B> of the elements in the Array. Count being
the index of the last element + 1.
$a[0] = 1;
$a[1] = 2;
$a[2] = 3;
count($a);
The result of the above would be 3.
http://www.php.net/manual/function.count.php