Bug #10910 Updated: var $foo = madness
| From: | hholzgra@php.net | Date: | Wed, 16 May 2001 21:27:53 +0000 |
| Subject: | Bug #10910 Updated: var $foo = madness | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55539@lists.php.net to get a copy of this message | ||
ID: 10910
Updated by: hholzgra
Reported By: jjones@net-conex.com
Old-Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating system:
PHP Version: 4.0 Latest CVS (2001-05-16)
Assigned To:
Comments:
no way, initializer values have to be constants
use a constructor to initialize instead
Previous Comments:
---------------------------------------------------------------------------
[2001-05-16 17:07:16] jjones@net-conex.com
class foo {
var $bar = "Some string";
var $baz = new some_other_class_i_defined;
}
I would like for that to work, please. ;)
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10910&edit=2