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

Last change on this file since 31874 was 31874, checked in by brainslayer, 5 weeks ago

update php

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