php-src/Zend/tests/bug71470.phpt

14 lines
151 B
Plaintext
Raw Normal View History

--TEST--
Bug #71470: Leaked 1 hashtable iterators
--FILE--
<?php
$array = [1, 2, 3];
foreach ($array as &$v) {
die("foo\n");
}
?>
--EXPECT--
foo