Re: [PHP4BETA] Two questions:
| From: | Adam Trachtenberg | Date: | Thu, 13 Apr 2000 21:56:04 +0000 |
| Subject: | Re: [PHP4BETA] Two questions: | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13537@lists.php.net to get a copy of this message | ||
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@student.net | http://www.student.com /