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
Swoole 函数
目录
swoole_async_dns_lookup
— Async and non-blocking hostname to IP lookup
swoole_async_read
— Read file stream asynchronously
swoole_async_readfile
— Read a file asynchronously
swoole_async_set
— Update the async I/O options
swoole_async_write
— Write data to a file stream asynchronously
swoole_async_writefile
— Write data to a file asynchronously
swoole_clear_error
— Clear errors in the socket or on the last error code
swoole_client_select
— Get the file description which are ready to read/write or error
swoole_cpu_num
— Get the number of CPU
swoole_errno
— Get the error code of the latest system call
swoole_error_log
— Output error messages to the log
swoole_event_add
— Add new callback functions of a socket into the EventLoop
swoole_event_defer
— Add callback function to the next event loop
swoole_event_del
— Remove all event callback functions of a socket
swoole_event_exit
— Exit the eventloop, only available at the client side
swoole_event_set
— Update the event callback functions of a socket
swoole_event_wait
— Start the event loop
swoole_event_write
— Write data to a socket
swoole_get_local_ip
— Get the IPv4 IP addresses of each NIC on the machine
swoole_last_error
— Get the lastest error message
swoole_load_module
— Load a swoole extension
swoole_select
— Select the file descriptions which are ready to read/write or error in the eventloop
swoole_set_process_name
— Set the process name
swoole_strerror
— Convert the Errno into error messages
swoole_timer_after
— Trigger a one time callback function in the future
swoole_timer_exists
— Check if a timer callback function is existed
swoole_timer_tick
— Trigger a timer tick callback function by time interval
swoole_version
— Get the version of Swoole
发现了问题?
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
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
^