php make one element in array first code example Example: first item in array php $firstItem = array_shift($array);