PHP 手冊
前一頁 |  | 下一頁

# override_function

(no version information, might be only in CVS)

override_function -- Overrides built-in functions

## Description

bool override_function ( string function_name, string function_args, string function_code )

Syntax similar to create_function(). Overrides built-in functions (replaces them in the symbol table).

範例 1. override_function() example

`<?php override_function('test', '$a,$b', 'echo "DOING TEST"; return $a * $b;'); ?>`

前一頁 | 內容 | 下一頁
apd_set_socket_session_trace | 上一層 | rename_function