note 74885 rejected from function.array-count-values by tularis
| From: | tularis@php.net | Date: | Wed, 02 May 2007 11:01:08 +0000 |
| Subject: | note 74885 rejected from function.array-count-values by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126117@lists.php.net to get a copy of this message | ||
Note Submitter: airyce03 at yahoo dot com
----
Is there an array function that counts the number of array elements???
e.g:
$names = array(
0 => 'cian',
1 => false,
2 => 'aiza',
3 => null,
4 => '',
5 => 'hannah',
6 => 'william'
);
---i need a function that determines number of array let say the example above :
it has 6 array elements...