PHP 手冊
前一頁 |  | 下一頁

# rename_function

(no version information, might be only in CVS)

rename_function -- Renames orig_name to new_name in the global function_table

## Description

bool rename_function ( string original_name, string new_name )

Renames orig_name to new_name in the global function_table. Useful for temporarily overriding builtin functions.

範例 1. rename_function() example

`<?php rename_function('mysql_connect', 'debug_mysql_connect' ); ?>`

前一頁 | 內容 | 下一頁
override_function | 上一層 | Array Functions