Function Handling
7 entries
call_user_func
Invokes a callback (call by name; closures work the same way).
call_user_func_array
Invokes a callback with arguments unpacked from an array (the classic entry point for variadic calls).
func_get_args
Collects every argument the current function actually received (the pre-5.6 standard for hand-rolled variadics): even extras beyond the declared parameters are kept; modern code declares ...$args instead, and the two behave identically.
func_num_args
Returns the number of arguments passed to the current function (pairs with func_get_args for variadic handling).
function_exists
Checks whether a function is defined by name (a common tool for extension checks and feature detection).
get_defined_functions
A snapshot of the process function table: internal (builtins) and user (script-defined) halves - the memory-introspection pair of get_defined_vars.
spl_autoload_functions
Returns the SPL autoloader registry: every callback pushed by spl_autoload_register, enumerable in registration order - registering writes it, this reads it.