diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-04-16 20:57:28 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-04-16 20:57:28 +0200 |
commit | 6bb81d2c5fb15c7506d0d7293727ab7463243afb (patch) | |
tree | 52ef92d97a944a868d98bd01ff35c75ab000ec04 /tests/lang | |
parent | 15d1d4f45bea8c7f9eedf0534ffee804640baaf1 (diff) | |
download | php-git-6bb81d2c5fb15c7506d0d7293727ab7463243afb.tar.gz |
Fix non-/Zend tests too
Diffstat (limited to 'tests/lang')
-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(); |