CakeFest 2024: The Official CakePHP Conference

ArrayIterator::count

(PHP 5, PHP 7, PHP 8)

ArrayIterator::count要素を数える

説明

public ArrayIterator::count(): int

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

警告

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

パラメータ

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

戻り値

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

参考

add a note

User Contributed Notes

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