runkit_function_rename

(PECL)

runkit_function_rename --  Change a function's name

說明

bool runkit_function_rename ( string funcname, string newname )

注: 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 the system-wide php.ini file.

參數

funcname

Current function name

newname

New function name

返回值

若果成功則返回 TRUE,失敗則返回 FALSE