$arr = array(1, 2, 3); unset($arr[0]); $arr = array_values($arr); print_r($arr); //Array ( [0] => 2 [1] => 3 )