array_shift($array)
$s1Array = [1,2,3]; $s1 = array_shift($s1Array); echo $s1; echo "br />"; print_r($s1Array);