PHP4 Bug #1766: 3.0 / 4.0

From: Date: Tue, 20 Jul 1999 20:47:13 +0000
Subject: PHP4 Bug #1766: 3.0 / 4.0
Groups: php.dev 
Request: Send a blank email to php-dev+get-8805@lists.php.net to get a copy of this message
From: zerodiv@horde.org Operating system: All PHP version: 4.0 Beta 1 PHP Bug Type: Parser error Bug description: 3.0 / 4.0 class MyClass { Function MyFunc( $this_item ) { } } class AnotherClass { Function AnotherClass() { } } // Works under php3 $this_obj = new MyClass(); $this_obj->Add( new AnotherClass() ); // New code for php4 $this_obj->Add( $tmp_obj = new AnotherClass() );

« previous php.dev (#8805) next »