xref: /PHP-7.2/Zend/tests/bug72543_5.phpt (revision 023b8125)
1--TEST--
2Bug #72543.5 (different references behavior comparing to PHP 5)
3--FILE--
4<?php
5$arr = [1];
6$ref =& $arr[0];
7var_dump($arr[0] + ($arr[0] = 2));
8?>
9--EXPECT--
10int(4)
11