|  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
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: 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();


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

Which are broken in 4.0

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


Add a Patch

Pull Requests

Add a Pull Request


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-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC