Re: [SMARTY] Re: I found a BUG in Smarty!

From: Date: Thu, 16 May 2002 13:22:09 +0000
Subject: Re: [SMARTY] Re: I found a BUG in Smarty!
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4224@lists.php.net to get a copy of this message
If you accidentally call {include_php} on the one file more than once then if you use include() it will include it multiple times, and reparse it everytime. If you do that in a loop its definetly a performance issue, decent coding practices should avoid that though. On 16/5/02 11:11 PM, Norbert Röcher banged a keyboard and produced the following weird but readable email: > > "Robert Amos" <bok@ausmac.net> schrieb im Newsbeitrag > news:B909EC11.34BA%bok@ausmac.net... >>> You wouldn¹t want to change them, they're there for a reason, >>> its a performance issue. > > Has nothing to do with performance. It just bewares of redefined > functions within the included files. > > Norbert >

« previous php.smarty.general (#4224) next »