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