SplFixedArray::count 配列のサイズを返す &reftitle.description; public intSplFixedArray::count 配列のサイズを返します。 &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; 配列のサイズを返します。 &reftitle.examples; <methodname>SplFixedArray::count</methodname> の例 count() . "\n"; echo count($array) . "\n"; ?> ]]> &example.outputs; &reftitle.notes; このメソッドは、機能的には SplFixedArray::getSize と同じです。 要素の数は常に設定されているサイズと等しくなります。すべての要素の値が最初に &null; で初期化されるからです。 &reftitle.seealso; SplFixedArray::getSize