php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1991 return new Object() doesn't work
Submitted: 1999-08-07 16:55 UTC Modified: 1999-08-07 18:20 UTC
From: duncan at emarketeers dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 1 OS: RedHat 5.2 / 2.2.9 kernel
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: duncan at emarketeers dot com
New email:
PHP Version: OS:

 

 [1999-08-07 16:55 UTC] duncan at emarketeers dot com
As the subject says. I have a lot of scripts that do something like:

function thingy() {
	return new Wotsit();
}

or 

$a=array(1,2,3, new Biscuit());

Which are broken in 4.0

---
Config is --with-apache --with-mysql

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-07 18:20 UTC] zeev at cvs dot php dot net
Known problem - already fixed in the CVS (Beta 2 should be
out within a couple of days)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 08:01:29 2025 UTC