note 1032 deleted from count by ronabop
| From: | ronabop@php.net | Date: | Wed, 18 Oct 2000 04:51:48 +0000 |
| Subject: | note 1032 deleted from count by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6626@lists.php.net to get a copy of this message | ||
This functions does report the countof 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.