summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2016-04-16 20:57:45 +0200
committerBob Weinand <bobwei9@hotmail.com>2016-04-16 20:57:45 +0200
commit643d6277b3410367f3437fce478b3a5601828a71 (patch)
tree51c43904a777c75474a3ca605d81fc6f9b2ffbe8 /tests
parent3ed4a592aa803851649b193ed474e50b4d49ade8 (diff)
parent6bb81d2c5fb15c7506d0d7293727ab7463243afb (diff)
downloadphp-git-643d6277b3410367f3437fce478b3a5601828a71.tar.gz
Merge branch 'PHP-7.0'
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/030.phpt3
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();