--TEST-- Foreach by reference and inserting new element when we are already at the end --FILE-- --EXPECT-- 1 2