summaryrefslogtreecommitdiff
path: root/Zend/tests/bug71539_6.phpt
blob: 2bf4f6b1e08c739e764be349d3ec09567fa645a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Bug #71539.5 (Memory error on $arr[$a] =& $arr[$b] if RHS rehashes)
--FILE--
<?php
$name = 'a';
for ($i = 0; $i < 100000; $i++) {
    if ($name != 'i') {
        $$name =& $GLOBALS;
    }
    $name++;
}
?>
OK
--EXPECT--
OK