filter_var
简介
与变量和类型有关的扩展
PHP 手册
Function Handling
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
Function handling 函数
call_user_func_array
— Call a user function given with an array of parameters
call_user_func
— Call a user function given by the first parameter
create_function
— Create an anonymous (lambda-style) function
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
— Return TRUE if the given function has been defined
get_defined_functions
— Returns an array of all defined functions
register_shutdown_function
— Register a function for execution on shutdown
register_tick_function
— Register a function for execution on each tick
unregister_tick_function
— De-register a function for execution on each tick
filter_var
简介
与变量和类型有关的扩展
PHP 手册