Renames orig_name to new_name in the global function_table. Useful for temporarily overriding builtin functions.
<?php rename_function('mysql_connect', 'debug_mysql_connect' ); ?>