diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-04-16 20:57:45 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-04-16 20:57:45 +0200 |
commit | 643d6277b3410367f3437fce478b3a5601828a71 (patch) | |
tree | 51c43904a777c75474a3ca605d81fc6f9b2ffbe8 /tests | |
parent | 3ed4a592aa803851649b193ed474e50b4d49ade8 (diff) | |
parent | 6bb81d2c5fb15c7506d0d7293727ab7463243afb (diff) | |
download | php-git-643d6277b3410367f3437fce478b3a5601828a71.tar.gz |
Merge branch 'PHP-7.0'
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lang/030.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lang/030.phpt b/tests/lang/030.phpt index 9ee40ea5aa..7f94b2eb74 100644 --- a/tests/lang/030.phpt +++ b/tests/lang/030.phpt @@ -24,7 +24,8 @@ $bar1->Name = 'outside'; $bar1->echoName(); $List->echoName(); -$bar1 =& foo2(new foo('constructor')); +$foo = new foo('constructor'); +$bar1 =& foo2($foo); $bar1->Name = 'outside'; $bar1->echoName(); |