Re: [PHP4BETA] parse error

From: Date: Thu, 10 Jun 1999 16:08:30 +0000
Subject: Re: [PHP4BETA] parse error
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-1452@lists.php.net to get a copy of this message
At 14:11 10/06/99 +0200, Sascha Schumann wrote:
FastTemplate is a class. I get a parse error on the following line within the class: function fetch ( $template = "$this->LAST" ) Probably does not like the $this->LAST construct.
Nope it's not supposed to work. You can only put a constant value there not a variable or expression. Andi --- Andi Gutmans <andi@zend.com> ICQ: 1568297

« previous php.version4 (#1452) next »