Hi,
Does anyone know of a way of passing other variables to the function being called by
preg_replace_callback? For instance, I have the following code:
function smarty_compile_lang($tpl_source) {
// en.php contains a very large array, $_lang
include_once '/home/test/en.php';
g
I think I've seen something like this before... hang on, isn't it called PHP???
Could you explain what advantages you see in doing it this way, as I can't
see any :-(
Peter.
At 11:00 PM 12/10/01 +0100, Wolfram Kriesing wrote:
>(just in case any of the people on PEAR-DEV will read this at all,
2 matches
Mail list logo