sizeof

(PHP 3, PHP 4 )

sizeof -- 配列の要素数を取得する

説明

int sizeof (array array)

配列の要素の数を返します。

count()も参照下さい。