override_function
Opis
bool override_function ( string function_name, string function_args, string function_code )Overrides built-in functions by replacing them in the symbol table.
Parametry
function_nameThe function to override.
function_argsThe function arguments, as a coma separated string.
Usually you will want to pass this parameter, as well as the
function_codeparameter, as a single quote delimited string. The reason for using single quoted strings, is to protect the variable names from parsing, otherwise, if you use double quotes there will be a need to escape the variable names, e.g. \$your_var.function_codeThe new code for the function.
| Poprzedni | Spis treści | Następny |
| apd_set_socket_session_trace | Początek rozdziału | <