Re: Smarty with PHP 4.01pl2
| From: | Hojtsy Gabor | Date: | Sat, 17 Feb 2001 15:20:34 +0000 |
| Subject: | Re: Smarty with PHP 4.01pl2 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-130@lists.php.net to get a copy of this message | ||
Hi!
Has anybody found a workaround for these functions,
so one can use Smarty with PHP < 4.0.4pl1 ? All the
docs, I can find:
---------------------------------------------------------------------
From the 4.0.4 changelog:
=====================================================================
get_defined_vars
Added the get_defined_vars() function which returns an associative
array of all variables defined in the current scope and their
subsequent values. (Sterling)
call_user_func_array
Added the call_user_func_array() function which gives you the ability
to call a user function by passing an array of parameters as the
second argument. (Sterling)
=====================================================================
Which is the best way to emulte these with previous PHP-s?
Specially our provider has 4.0.3pl1.
Goba
__________________________________________________________________
Hungarian PHP Manual :: Hungarian PHP Mirror :: http://hu.php.net/
The starintg-point for Hungarian webmasters :: http://weblabor.hu/