php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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() );

Patches

Pull Requests

History

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 08:01:29 2025 UTC