GoLang runkit_function_rename

request it (411)
GoLang replacement for PHP's runkit_function_rename [edit | history]



Do you know a GoLang replacement for PHP's runkit_function_rename? Write it!

PHP runkit_function_rename

PHP original manual for runkit_function_rename [ show | php.net ]

runkit_function_rename

(PECL runkit >= 0.7.0)

runkit_function_rename Change a function's name

Description

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

Return Values

Returns TRUE on success or FALSE on failure.

See Also