array_first Obtiene el primer valor de un array &reftitle.description; mixedarray_first arrayarray Obtiene el primer valor del array dado. &reftitle.parameters; array Un array. &reftitle.returnvalues; Devuelve el primer valor de array si el array no está vacío; &null; en caso contrario. &reftitle.examples; Uso básico de <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