PHP 8.1.0 Released!

runkit7_function_rename

(PECL runkit7 >= Unknown)

runkit7_function_rename Change a function's name

Description

runkit7_function_rename(string $funcname, string $newname): 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_override setting in php.ini.

Parameters

funcname

Current function name

newname

New function name

Return Values

Returns true on success or false on failure.

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top