array_first 配列の最初の値を得る &reftitle.description; mixedarray_first arrayarray 与えられた array の最初の値を返します。 &reftitle.parameters; array 入力となる配列 &reftitle.returnvalues; 配列が空でなければ、 array の最初の値を返します。 そうでなければ、&null; を返します。 &reftitle.examples; 基本的な <function>array_first</function> 関数の使い方 'a', 0 => 'b', 3 => 'c', 2 => 'd']; $firstValue = array_first($array); var_dump($firstValue); ?> ]]> &example.outputs; &reftitle.seealso; array_key_first array_last