source: src/router/php7/Zend/tests/bug71539_6.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 2 months ago

update php

File size: 231 bytes
Line 
1--TEST--
2Bug #71539.5 (Memory error on $arr[$a] =& $arr[$b] if RHS rehashes)
3--FILE--
4<?php
5$name = 'a';
6for ($i = 0; $i < 100000; $i++) {
7    if ($name != 'i') {
8        $$name =& $GLOBALS;
9    }
10    $name++;
11}
12?>
13OK
14--EXPECT--
15OK
Note: See TracBrowser for help on using the repository browser.