Re: [SMARTY-DEV] function.eval doesn't work in PHP 5
| From: | messju mohr | Date: | Thu, 17 Jul 2003 06:23:16 +0000 |
| Subject: | Re: [SMARTY-DEV] function.eval doesn't work in PHP 5 | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1728@lists.php.net to get a copy of this message | ||
On Wed, Jul 16, 2003 at 09:30:27PM -0500, Jason Sweat wrote:
> From: "Greg Beaver" <greg@chiaraquartet.net>
> > phpDocumentor uses Smarty 2.5.0 and {eval} in the HTML:Smarty:*
> > templates. We've found with the recent release of php 5 beta 1, that
> > eval triggers a fatal error of $this used out of context. Where
> should
> > I report this bug aside from here?
>
> I believe this came up in an earlier thread. The consensus was that the
> Smarty development team was not going to worry about it until php5
> became more stable (I don't know if the beta, which came out
> subsequently, qualifies as more stable or not :).
>
> IIRC, the solution would be to change all the template $this references
> to $smarty or something.
did anyone bother to check against the cvs version?
greetings
messju
> Regards,
>
> Jason