phpday 2027 - Call for Papers

ArrayIterator::count

(PHP 5, PHP 7, PHP 8)

ArrayIterator::count — 要素を数える

説明

public function ArrayIterator::count(): int

配列の要素の数、あるいはオブジェクトの public プロパティの数を取得します。

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

この関数にはパラメータはありません。

戻り値

連想配列の場合は要素の数、オブジェクトの場合は public プロパティの数を返します。

参考

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top