source: src/router/php7/Zend/tests/bug72543_4.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 3 months ago

update php

File size: 186 bytes
Line 
1--TEST--
2Bug #72543.4 (different references behavior comparing to PHP 5)
3--FILE--
4<?php
5$arr = [1];
6$ref =& $arr[0];
7unset($ref);
8var_dump($arr[0] + ($arr[0] = 2));
9?>
10--EXPECT--
11int(3)
Note: See TracBrowser for help on using the repository browser.