(PECL runkit7 >= Unknown)
runkit7_function_rename — Change a function's name
runkit7_function_rename(string $source_name, string $target_name): bool
Note: By default, only userspace functions may be removed, renamed, or modified. In order to override internal functions, you must enable the
runkit.internal_overridesetting in php.ini.
source_nameCurrent function name
target_nameNew function name
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.runkit7-function-rename.php