ArrayIterator::count

(PHP 5, PHP 7)

ArrayIterator::countCount elements

说锟斤拷

public ArrayIterator::count ( void ) : int

Gets the number of elements in the array, or the number of public properties in the object.

Warning

锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

The number of elements or public properties in the associated array or object, respectively.

锟轿硷拷