diff options
author | Andre Langhorst <waldschrott@php.net> | 2000-12-06 18:55:52 +0000 |
---|---|---|
committer | Andre Langhorst <waldschrott@php.net> | 2000-12-06 18:55:52 +0000 |
commit | b03af37e1927f31c1d98cc0a3bc0165d878bbe0e (patch) | |
tree | 8ccefdf85df996e3703f4fc93ced3c427c71b425 | |
parent | 5604ae2de421a0731145b5f802bd8372c4b086a5 (diff) | |
download | php-git-b03af37e1927f31c1d98cc0a3bc0165d878bbe0e.tar.gz |
updated with =& new syntax
-rw-r--r-- | tests/lang/030.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lang/030.phpt b/tests/lang/030.phpt index 9215404a4d..162997fca9 100644 --- a/tests/lang/030.phpt +++ b/tests/lang/030.phpt @@ -17,17 +17,17 @@ function &foo2(&$foo) { return $foo; } -$bar1 = new foo('constructor'); +$bar1 =& new foo('constructor'); $bar1->Name = 'outside'; $bar1->echoName(); +$List->echoName(); -$bar1 = foo2(new foo('constructor')); +$bar1 =& foo2(new foo('constructor')); $bar1->Name = 'outside'; $bar1->echoName(); $List->echoName(); -print ($names==array('constructor','constructor','constructor','constructor','constructor')) ? 'success:':'failure'; -?> +print ($names==array('constructor','outside','outside','constructor','outside','outside')) ? 'success':'failure'; ?> --EXPECT-- -success +success
\ No newline at end of file |