summaryrefslogtreecommitdiff
path: root/Zend/tests/bug72543_1.phpt
blob: f63ee7f14b4ac60c3d2b690851b0df429e72df8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Bug #72543.1 (different references behavior comparing to PHP 5)
--FILE--
<?php
$arr = [];
$arr[0] = null;
$ref =& $arr[0];
unset($ref);
$arr[0][0] = $arr[0];
var_dump($arr);
?>
--EXPECT--
array(1) {
  [0]=>
  array(1) {
    [0]=>
    NULL
  }
}