SplFixedArray::getSize
配列のサイズを取得する
&reftitle.description;
public intSplFixedArray::getSize
配列のサイズを取得します。
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
配列のサイズを int で返します。
&reftitle.examples;
SplFixedArray::getSize の例
getSize()."\n";
$array->setSize(10);
echo $array->getSize()."\n";
?>
]]>
&example.outputs;
&reftitle.notes;
このメソッドは、機能的には SplFixedArray::count と同じです。
&reftitle.seealso;
SplFixedArray::count