--TEST-- array_splice() function preserve foreach by reference iterator pointer --FILE-- --EXPECT-- 0 1 2 3 4 0 1 4 0 1 2 4 0 1 2 3 4 0 1 x y z 4 0 1 2 4