说明
array_key_first ( array
$array
) : mixedGet the first key of the given array
without affecting the internal array pointer.https://www.bzddrive.com/
参数
array
-
An array.
返回值
Returns the first key of array
if the array is not empty; NULL
otherwise.