Hello Niels
Use preg_replace_callback
http://de.php.net/preg_replace_callback
since it is faster than using the /e switch.
Regards
Stefan Langer
* Thus wrote Niels Uhlendorf ([EMAIL PROTECTED]):
> Hi,
>
> Although this seemed to be an easy prob I couldn't solve it in all the
> time.
>
> I have a function and a string i want to be replaced. I use preg_replace
> and get a var out. Now I want this var in the function but I don't know
> ho
Hi,
Although this seemed to be an easy prob I couldn't solve it in all the
time.
I have a function and a string i want to be replaced. I use preg_replace
and get a var out. Now I want this var in the function but I don't know
how I can get it in:
preg_replace("#\[\+\+(.*)\+\+\]#Uis",my_functi
3 matches
Mail list logo