Re: [SMARTY-DEV] function.eval doesn't work in PHP 5

From: Date: Thu, 17 Jul 2003 02:30:27 +0000
Subject: Re: [SMARTY-DEV] function.eval doesn't work in PHP 5
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1727@lists.php.net to get a copy of this message
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. Regards, Jason

« previous php.smarty.dev (#1727) next »