phpday 2027 - Call for Papers

runkit7_function_rename

(PECL runkit7 >= Unknown)

runkit7_function_rename — Change a function's name

Description

function 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_override setting in php.ini.

Parameters

source_name

Current function name

target_name

New function name

Return Values

Returns true on success or false on failure.

See Also

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top