Re: compatibilily
| From: | Andrei Zmievski | Date: | Fri, 02 Feb 2001 14:26:30 +0000 |
| Subject: | Re: compatibilily | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-42@lists.php.net to get a copy of this message | ||
On Fri, 02 Feb 2001, Hojtsy Gabor wrote:
> Hi!
>
> It seem that Smarty is not too compatible. :(( I tried it
> to use with my PHP 4.0.3pl1 and it is not working as there
> is no get_defined_vars() function in this version. I don't
> think so that 4.0.3pl1 is an old version... Who can afford
> to update a PHP install with every new version...
I guess I could say that that's the price of living on the bleeding edge
of technology.. :) But seriously, we tried to make Smarty as full
featured and as efficient as possible - but that means that we either
had to rely on some features in the later versions of PHP or actually
add those features to PHP as we went along.
get_defined_vars() is used only if you pass variables to included
templates - so if you don't use that feature, you don't need to worry
about it.
-Andrei
* Reality isn't all it's cracked up to be. *