Re: [PHP] Evaluating defines

2003-06-05 Thread Yann Larrivee
I found the fonction constant that return the value of a constant if you passe the name of the constant in parameter. so it would now be - $replace_by[] = constant$out[2][$i]); - It should also be faster then eval Thanks for the help Yann Larrivee On Thu, 2003-06-05 at 00:21, Ernest

Re: [PHP] Evaluating defines

2003-06-05 Thread Ernest E Vogelsinger
At 13:46 04.06.2003, Yann Larrivee said: [snip] >My probleme is that i need to return the value of my define and not its >name. My eval doesnt seem to work. > >Any body as a sugestion , or a better way to do this without passing by >eval . > >$re