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

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

update php

File size: 277 bytes
Line 
1--TEST--
2Bug #71539.4 (Memory error on $arr[$a] =& $arr[$b] if RHS rehashes)
3--FILE--
4<?php
5$array = [0=>[]];
6$array[0][0] =& $array[0][''];
7$array[0][0] = 42;
8var_dump($array);
9?>
10--EXPECT--
11array(1) {
12  [0]=>
13  array(2) {
14    [""]=>
15    &int(42)
16    [0]=>
17    &int(42)
18  }
19}
Note: See TracBrowser for help on using the repository browser.