php first value of dictionary code example Example: get first key of array php $firstKey = array_key_first($array);