mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
11 lines
173 B
Plaintext
11 lines
173 B
Plaintext
|
--TEST--
|
||
|
Bug #72543.5 (different references behavior comparing to PHP 5)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$arr = [1];
|
||
|
$ref =& $arr[0];
|
||
|
var_dump($arr[0] + ($arr[0] = 2));
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
int(4)
|