PHP 4.0 Bug #1991: return new Object() doesn't work
| From: | duncan at emarketeers dot com | Date: | Sat, 07 Aug 1999 20:55:23 +0000 |
| Subject: | PHP 4.0 Bug #1991: return new Object() doesn't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9634@lists.php.net to get a copy of this message | ||
From: duncan@emarketeers.com
Operating system: RedHat 5.2 / 2.2.9 kernel
PHP version: 4.0 Beta 1
PHP Bug Type: Scripting Engine problem
Bug description: return new Object() doesn't work
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