mirror of
https://github.com/php/php-src.git
synced 2024-09-26 20:37:29 +00:00
14 lines
151 B
Plaintext
14 lines
151 B
Plaintext
|
--TEST--
|
||
|
Bug #71470: Leaked 1 hashtable iterators
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$array = [1, 2, 3];
|
||
|
foreach ($array as &$v) {
|
||
|
die("foo\n");
|
||
|
}
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
foo
|