Odd request...
Posted: Mon May 01, 2006 11:05 pm
Does anyone know of a hack which can be used to un-declare functions??? 
I have tried unset() on the array of get_defined_functions() but that just removes the function from that returned array, as it's clearly not a reference to the actual internal array of declared functions, cuz if I try and redefine the unset function...everything still pukes all over me
Likely not possible as that was my only thought...but thats why i'm asking for a *hack* inside of PHP no mod C source or anything...this must be PHP code only!!!
Cheers
I have tried unset() on the array of get_defined_functions() but that just removes the function from that returned array, as it's clearly not a reference to the actual internal array of declared functions, cuz if I try and redefine the unset function...everything still pukes all over me
Likely not possible as that was my only thought...but thats why i'm asking for a *hack* inside of PHP no mod C source or anything...this must be PHP code only!!!
Cheers