Re: [SMARTY-DEV] problems with PHP5

From: Date: Sat, 21 Jun 2003 12:35:46 +0000
Subject: Re: [SMARTY-DEV] problems with PHP5
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1656@lists.php.net to get a copy of this message
On Sat, Jun 21, 2003 at 12:03:17PM +0200, Terje Torkelsen wrote: > seems like the latest smarty CVS wont work as expected with PHP5-CVS.. > besides from the problem that PHP5 have a bug with using: > > $class = new $classname; > > i also get an fatal error in the core files that says > > Fatal error : Using $this when not in object context in .... > > so for compatible issus i think the definition of $this in the functions > should be changed, not good using $this anyway unfortunately this is not easy, if possible at all in functions like smarty_core_smarty_include(). i think it's far to early to try to support php5 at the moment. let's wait till php5 stabilizes, this will save us a lot of useless work.

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