Estas constantes están definidas por esta extensión y estarán disponibles sólo cuando la extensión haya sido compilada con PHP, o bien sea cargada dinámicamente en ejecución.
SWOOLE_BASE
(int)
SWOOLE_THREAD
(int)
SWOOLE_PROCESS
(int)
SWOOLE_IPC_UNSOCK
(int)
SWOOLE_IPC_MSGQUEUE
(int)
SWOOLE_IPC_PREEMPTIVE
(int)
SWOOLE_SOCK_TCP
(int)
SWOOLE_SOCK_TCP6
(int)
SWOOLE_SOCK_UDP
(int)
SWOOLE_SOCK_UDP6
(int)
SWOOLE_SOCK_UNIX_DGRAM
(int)
SWOOLE_SOCK_UNIX_STREAM
(int)
SWOOLE_TCP
(int)
SWOOLE_TCP6
(int)
SWOOLE_UDP
(int)
SWOOLE_UDP6
(int)
SWOOLE_UNIX_DGRAM
(int)
SWOOLE_UNIX_STREAM
(int)
SWOOLE_SOCK_SYNC
(int)
SWOOLE_SOCK_ASYNC
(int)
SWOOLE_SYNC
(int)
SWOOLE_ASYNC
(int)
SWOOLE_KEEP
(int)
SWOOLE_EVENT_READ
(int)
SWOOLE_EVENT_WRITE
(int)
SWOOLE_VERSION
(string)
SWOOLE_AIO_BASE
(int)
SWOOLE_AIO_LINUX
(int)
SWOOLE_FILELOCK
(int)
SWOOLE_MUTEX
(int)
SWOOLE_SEM
(int)
SWOOLE_RWLOCK
(int)
WEBSOCKET_OPCODE_TEXT
(int)
WEBSOCKET_OPCODE_BINARY
(int)
WEBSOCKET_OPCODE_PING
(int)
WEBSOCKET_STATUS_CONNECTION
(int)
WEBSOCKET_STATUS_HANDSHAKE
(int)
WEBSOCKET_STATUS_FRAME
(int)
WEBSOCKET_STATUS_ACTIVE
(int)
SWOOLE_FAST_PACK
(int)
SWOOLE_LOG_DEBUG
(int)
SWOOLE_LOG_TRACE
(int)
SWOOLE_LOG_INFO
(int)
SWOOLE_LOG_NOTICE
(int)
SWOOLE_LOG_WARNING
(int)
SWOOLE_LOG_ERROR
(int)
SWOOLE_LOG_NONE
(int)