runkit_function_redefine
Description
bool runkit_function_redefine ( string funcname, string arglist, string code )Note: By default, only userspace functions may be removed, renamed, or modified. In order to override internal functions, you must enable the runkit.internal_override setting in the system-wide php.ini file.
Parameters
funcnameName of function to redefine
arglistNew list of arguments to be accepted by function
codeNew code implementation
