|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1766 Problem with new
Submitted: 1999-07-20 16:47 UTC Modified: 1999-07-27 13:42 UTC
From: zerodiv at horde dot org Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 1 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: zerodiv at horde dot org
New email:
PHP Version: OS:


 [1999-07-20 16:47 UTC] zerodiv at horde dot org
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() );


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-24 10:28 UTC] zeev at cvs dot php dot net
This is an incompatibility between PHP 3.0 and 4.0 that we intend to sort out before Beta 2.
Thanks for reporting it!
 [1999-07-27 13:42 UTC] andi at cvs dot php dot net
Fixed in latest CVS.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Aug 04 07:01:24 2021 UTC