How can we know the count/number of elements of an array? Anonymous User247013-Jun-2011phpphp Updated on 21-Sep-2020
Anonymous User
13-Jun-2011We will accomplishe this task in two ways.
a) sizeof($numArray) This function is an alias of count.
b) count($numArray)