(PECL runkit >= 0.7.0)
runkit_function_rename — Change a function's name
$funcname
, string $newname
)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 php.ini.
funcname
Current function name
newname
New function name
Returns TRUE
on success or FALSE
on failure.