From b03af37e1927f31c1d98cc0a3bc0165d878bbe0e Mon Sep 17 00:00:00 2001 From: Andre Langhorst Date: Wed, 6 Dec 2000 18:55:52 +0000 Subject: [PATCH] updated with =& new syntax --- tests/lang/030.phpt | 10 +++++----- 1 file 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 -- 2.50.1