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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC