学习笔记8

来源:互联网 发布:最强大脑人工智能小度 编辑:程序博客网 时间:2024/06/05 16:50

PHP中函数处理 函数
  • call_user_func_array — 调用回调函数,并把一个数组参数作为回调函数的参数
  • call_user_func — 把第一个参数作为回调函数调用
  • 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 — 返回参数列表的某一项
  • func_get_args — 返回一个包含函数参数列表的数组
  • func_num_args — Returns the number of arguments passed to the function
  • function_exists — 如果给定的函数已经被定义就返回 TRUE
  • get_defined_functions — 返回所有已定义函数的数组
  • register_shutdown_function — 注册一个会在php中止时执行的函数
  • register_tick_function — Register a function for execution on each tick
  • unregister_tick_function — De-register a function for execution on each tick
原创粉丝点击