$str = array('0', '1', '2', '3');
array_shift($str);
echo '<pre>';
print_r($str);
echo '</pre>';
ouput:
Array
(
[0] => 1
[1] => 2
[2] => 3
)
EDIT - If you need to protect the original array, simply create a new variable that is equal to the orginal array and shift that new variable:
$str = $str2 = array('0', '1', '2', '3');
array_shift($str2);
echo '<pre>';
print_r($str2);
echo '</pre>';
$str still remains intact in its original form.