The $a variable above is the fun() function. Calling $a() is the same as calling fun(). Another way. Call a function in PHP: mixed call_user_func ( callback $function [, mixed $parameter [, mixed $...]] ) mixed call_user_func_array ( callback $function, array $param_arr ) Example:
|