1 2 3 4 5 6 7 8 9 10 11 12 13
--TEST-- Bug #71470: Leaked 1 hashtable iterators --FILE-- <?php $array = [1, 2, 3]; foreach ($array as &$v) { die("foo\n"); } ?> --EXPECT-- foo