Downloads
Documentation
Get Involved
Help
Search docs
PHP 8.4.0 RC4 available for testing
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
swoole_async_dns_lookup »
« 预定义常量
PHP 手册
函数参考
其它基本扩展
Swoole
切换语言:
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
改进此页面
了解如何改进此页面
•
提交拉取请求
•
报告一个错误
+
添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google