how to make a new string as first element in array in php code example Example: first item in array php $firstItem = array_shift($array);