ArrayIterator::count
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Count elements
Description
ArrayIterator::count(): int
Gets the number of elements in the array, or the number of public properties in the object.
Func
Parameters Parameters
Return Values
The number of elements or public properties in the associated array or object, respectively.
See Also
ArrayIterator::getFlags