Re: [PHP4BETA] parse error
| From: | Sascha Schumann | Date: | Thu, 10 Jun 1999 15:20:46 +0000 |
| Subject: | Re: [PHP4BETA] parse error | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1453@lists.php.net to get a copy of this message | ||
On Thu, Jun 10, 1999 at 06:08:30PM +0200, Andi Gutmans wrote:
> 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.
Ok, I noticed the maintainer.
--
Regards,
Sascha Schumann
Consultant