]> granicus.if.org Git - php/commitdiff
The &new is no longer needed, prevent E_STRICT message
authorMarcus Boerger <helly@php.net>
Wed, 4 Feb 2004 21:34:10 +0000 (21:34 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 4 Feb 2004 21:34:10 +0000 (21:34 +0000)
tests/lang/030.phpt

index ba809c8e31c74a01a8c130974882992f703678bc..758369bf0848ec98ac8a37c2cdbcabca683b09bf 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 $this in constructor test
---POST--
---GET--
 --FILE--
 <?php
 class foo {
@@ -21,7 +19,7 @@ function &foo2(&$foo) {
 }
 
 
-$bar1 =new foo('constructor');
+$bar1 =new foo('constructor');
 $bar1->Name = 'outside';
 $bar1->echoName();
 $List->echoName();