Question: php is first in array?
Answer: Answer: Use the PHP array_values() Function Alternativly, you can also use the reset() function to get the first element. The reset() function set the internal pointer of an array to its first element and returns the value of the first array element, or FALSE if the array is empty.