Better PHP Documentation
opinionated
Open main menu
Get Started
Documentation
Community
Training
Better PHP Documentation
Close menu
Get Started
Documentation
Community
Training
Log in
切换语言:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
函数处理
简介
这些函数涉及函数的相关操作。
函数处理 函数
call_user_func
— 把第一个参数作为回调函数调用
call_user_func_array
— 调用回调函数,并把一个数组参数作为回调函数的参数
create_function
— 通过执行代码字符串创建动态函数
forward_static_call
— 调用静态方法
forward_static_call_array
— 调用静态方法且参数作为数组传递
func_get_arg
— 返回参数列表的某一项
func_get_args
— 返回一个包含函数参数列表的数组
func_num_args
— 返回传递给函数的参数数量
function_exists
— 如果给定的函数已经被定义就返回 true
get_defined_functions
— 返回所有已定义函数的数组
register_shutdown_function
— 注册在关闭时执行的函数
register_tick_function
— 注册一个函数以便在每个 tick 上执行
unregister_tick_function
— 注销每个 tick 上需要执行的函数
发现了问题?
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
0
pcntl_sigtimedwait
Waits for signals, with a timeout
0
similar_text
Calculate the similarity between two strings
0
boolval
Get the boolean value of a variable
0
curl_multi_close
Close a set of cURL handles
0
imap_body
Read the message body
0
mb_strpos
Find position of first occurrence of string in a string
0
pg_send_prepare
Sends a request to create a prepared statement with the given parameters, without waiting for completion
0
swoole_native_socket_bind
0
Arr::prependKeysWith
0
zend_version
Gets the version of the current Zend engine
^