runkit_function_rename

(PECL runkit >= 0.7.0)
Change a function's name
bool runkit_function_rename ( string $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.

Parameters:
funcname

Current function name

newname

New function name

Returns:

Returns TRUE on success or FALSE on failure.

See also:

runkit_function_add() -

runkit_function_copy() -

runkit_function_redefine() -

runkit_function_remove() -

doc_php
2016-02-24 15:54:06
Comments
Leave a Comment

Please login to continue.