SplFixedArray::count
Returns the size of the array
&reftitle.description;
public intSplFixedArray::count
Returns the size of the array.
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
Returns the size of the array.
&reftitle.examples;
SplFixedArray::count example
count() . "\n";
echo count($array) . "\n";
?>
]]>
&example.outputs;
&reftitle.notes;
This method is functionally equivalent to SplFixedArray::getSize.
The count of elements is always equal to the set size because all values are initially
initialized with &null;.
&reftitle.seealso;
SplFixedArray::getSize