--TEST-- array_shift() function precerve foreach by reference iterator pointer --FILE-- --EXPECT-- 1 2 3 4 array(0) { }