PHP - Function Handling
These functions provides tool to handle various operations involved in working with functions.
Installation
There is no installation needed to use these functions. These functions are part of the PHP core.
Runtime Configuration
This extension has no configuration directives defined in php.ini.
PHP Function Handling Functions
Functions | Description |
---|---|
call_user_func_array() | Call a callback with an array of parameters. |
call_user_func() | Call the callback given by the first parameter. |
create_function() | Create an anonymous (lambda-style) function. |
forward_static_call_array() | Call a static method and pass the arguments as array. |
forward_static_call() | Call a static method. |
func_get_arg() | Return an item from the argument list. |
func_get_args() | Returns an array comprising a function's argument list. |
func_num_args() | Returns the number of arguments passed to the function. |
function_exists() | Returns true if the given function has been defined. |
get_defined_functions() | Returns an array of all defined functions. |
register_shutdown_function() | Registers a function for execution on shutdown. |
register_tick_function() | Registers a function for execution on each tick. |
unregister_tick_function() | De-registers a function for execution on each tick. |
PHP Function Handling Predefined Constants
This extension has no constants defined.