KRISTOFFER BOHMANN
[BETA]
Forside
Om KB
Kompetencer
Referencer
Function Handling
call_user_func
call_user_func_array
create_function
forward_static_call
forward_static_call_array
function_exists
func_get_arg
func_get_args
func_num_args
get_defined_functions
register_shutdown_function
register_tick_function
unregister_tick_function
Home
>
PHP
>
Function
>
Function Handling
>
create_function()
create_function()
create_function - Create an anonymous (lambda-style) function
Syntax
string
create_function
(
string
$args,
string
$code)
Arguments
args - The function arguments.
code - The function code.
Description
Creates an anonymous function from the parameters passed, and returns a unique name for it.
Version
PHP 4.0.1, 5
Return value
Returns a unique function name as a string, or FALSE on error.