..
No. array_length function () does not exist in PHP language.
To know the size of an array using the count () function.
Here's an example:
$ Miaarray = array ('foo', 'bar', 'mouse');
echo 'Number of items:'.
count ($ miaarray);
Alternatively you can use the sizeof () which produces a result identical to count ().
| |
Linux (Course)
Complete guide to open-source system. From 49 €. |
| |
MySQL (Course)
Management of open-source database. From 39 €. |
| |
PHP (Course)
Full course for creating dynamic Web sites. From 49 €. |