Php/docs/arrayiterator.count

来自菜鸟教程
跳转至:导航、​搜索

ArrayIterator::count

(PHP 5, PHP 7)

ArrayIterator::countCount elements


说明

public ArrayIterator::count ( ) : 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.


参见