mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
12 lines
186 B
PHP
12 lines
186 B
PHP
--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)
|