ArrayIterator::count

(PHP 5, PHP 7, PHP 8)

ArrayIterator::countCount elements

說(shuō)明

public ArrayIterator::count(): int

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

警告

本函數(shù)還未編寫文檔,僅有參數(shù)列表。

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

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

參見(jiàn)