[PHP-DEV] Bug #10910 Updated: var $foo = madness From: hholzgra <email protected>
Date: 05/16/01

ID: 10910
Updated by: hholzgra
Reported By: jjones <email protected>
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 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>