summaryrefslogtreecommitdiff
path: root/Zend/tests/bug72543_4.phpt
blob: 3480c1c42cec455e19e5353032a5975f2265c253 (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Bug #72543.4 (different references behavior comparing to PHP 5)
--FILE--
<?php
$arr = [1];
$ref =& $arr[0];
unset($ref);
var_dump($arr[0] + ($arr[0] = 2));
?>
--EXPECT--
int(3)