php4-beta | 200004

Re: [PHP4BETA] Two questions: From: Adam Trachtenberg (adam <email protected>)
Date: 04/13/00

On Thu, 13 Apr 2000, Andrei Zmievski wrote:

> On Thu, 13 Apr 2000, Colin Viebrock wrote:
> > Fair enough. But it also looks like I can't do this:
> >
> > class test {
> > var $foo = 10*20;
> >
> > ...
> >
>
> I don't think you can do this either.

Not in PHP4 anymore. You need to do

        var $foo = 200;

if I remember correct from what I saw come across this list. (i.e. no
dynamic variable assignments in classes.)

-adam

-- 
/ adam maccabee trachtenberg | visit college life online \
\ adam <email protected>           | http://www.student.com    /

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