helly Wed Feb 4 16:34:11 2004 EDT
Modified files:
/php-src/tests/lang 030.phpt
Log:
The &new is no longer needed, prevent E_STRICT message
http://cvs.php.net/diff.php/php-src/tests/lang/030.phpt?r1=1.3&r2=1.4&ty=u
Index: php-src/tests/lang/030.phpt
diff -u php-src/tests/lang/030.phpt:1.3 php-src/tests/lang/030.phpt:1.4
--- php-src/tests/lang/030.phpt:1.3 Fri Mar 29 12:12:11 2002
+++ php-src/tests/lang/030.phpt Wed Feb 4 16:34:10 2004
@@ -1,7 +1,5 @@
--TEST--
$this in constructor test
---POST--
---GET--
--FILE--
<?php
class foo {
@@ -21,7 +19,7 @@
}
-$bar1 =& new foo('constructor');
+$bar1 =new foo('constructor');
$bar1->Name = 'outside';
$bar1->echoName();
$List->echoName();
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php