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

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

update php

File size: 254 bytes
Line 
1--TEST--
2Bug #72543.1 (different references behavior comparing to PHP 5)
3--FILE--
4<?php
5$arr = [];
6$arr[0] = null;
7$ref =& $arr[0];
8unset($ref);
9$arr[0][0] = $arr[0];
10var_dump($arr);
11?>
12--EXPECT--
13array(1) {
14  [0]=>
15  array(1) {
16    [0]=>
17    NULL
18  }
19}
Note: See TracBrowser for help on using the repository browser.