..


Sponsored Links

There is a function array_length () in php?

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 ().

In the same category ...
E-Learning
Linux (Course) Linux (Course)
Complete guide to open-source system. From 49 €.
MySQL (Course) MySQL (Course)
Management of open-source database. From 39 €.
PHP (Course) PHP (Course)
Full course for creating dynamic Web sites. From 49 €.
Sponsored Links