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