mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
d1057cc139
Don't report hashtable iterator leaks on unclean shutdown, those are expected.
14 lines
151 B
PHP
14 lines
151 B
PHP
--TEST--
|
|
Bug #71470: Leaked 1 hashtable iterators
|
|
--FILE--
|
|
<?php
|
|
|
|
$array = [1, 2, 3];
|
|
foreach ($array as &$v) {
|
|
die("foo\n");
|
|
}
|
|
|
|
?>
|
|
--EXPECT--
|
|
foo
|