PHP 8.3.0 RC 6 available for testing

ArrayIterator::count

(PHP 5, PHP 7, PHP 8)

ArrayIterator::countCount elements

说明

public ArrayIterator::count(): int

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

警告

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

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

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top