php get one item from an array code example Example: first item in array php $firstItem = array_shift($array);