|
PHP5中文手册
rename_function(PECL apd:0.2-1.0.1) rename_function — Renames orig_name to new_name in the global function table 说明
bool rename_function
( string $original_name
, string $new_name
)
Renames a orig_name to new_name in the global function table. Useful for temporarily overriding built-in functions. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 rename_function() example
<?php |