Counting how many elements a PHP array has
It possible to find out of how many elements a PHP array has. In order to do a function called count needs to be used.
Please not forget that count of PHP array elements starts with 0. Even so it is possible to find out number of elements in PHP array, last element in it will be count of array elements minus one.
Comments
Post a Comment