Date: 08/12/00
- Next message: Shane Caraveo: "Re: [PHP-DEV] 4.0.2 Release date"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] Request for comment"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] arithmetic operators in member variable assignments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> >Sure. Var initializers can be only constants. 12*12 isn't constant, it's
> >an experssion.
>
> Elaborating on this answer, if you want to have non-constant initializers
> then move the initialization code to the classes constructor.
Many thanks. This is what I get for not reading the "incompatibilities with
3.0" notes. :)
Sam Leibowitz (sleibowitz <email protected>)
-- 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>
- Next message: Shane Caraveo: "Re: [PHP-DEV] 4.0.2 Release date"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] Request for comment"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] arithmetic operators in member variable assignments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

