runkit_function_rename

(PECL)

runkit_function_rename --  Change a function's name

Leírás

bool runkit_function_rename ( string funcname, string newname )

Megjegyzés: 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.

Paraméterek

funcname

Current function name

newname

New function name

Visszatérési értékek

Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.

Lásd még

runkit_function_add()
runkit_function_copy()
runkit_function_redefine()
runkit_function_remove()