summaryrefslogtreecommitdiff
path: root/Zend/tests/bug71470.phpt
blob: 6f8b4f010336bd906587f1aec66aa8d86ce481ca (plain)
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