Join 4,000+ others and never miss out on new tips, tutorials, and more.
Latest version:
pecl install openswoole-25.2.0 | composer require openswoole/core:22.1.5
TODO: FIX
OpenSwoole\Constant::VERSION the version of OpenSwooleOpenSwoole\Server::SIMPLE_MODE set the OpenSwoole server to be OpenSwoole\Server::SIMPLE_MODE mode
OpenSwoole\Server::POOL_MODE set the OpenSwoole\Constant::server to OpenSwoole\Server::POOL_MODE
OpenSwoole\Constant::SOCK_TCP create tcp client
OpenSwoole\Constant::SOCK_TCP6 create tcp ipv6 client
OpenSwoole\Constant::SOCK_UDP create udp client
OpenSwoole\Constant::SOCK_UDP6 create udp ipv6 client
OpenSwoole\Constant::SOCK_SYNC create synchronous client
OpenSwoole\Constant::SOCK_ASYNC create asynchronous client
OpenSwoole\Constant::FILELOCK create file lock
OpenSwoole\Constant::MUTEX cretae mutex lock
OpenSwoole\Constant::RWLOCK create read/write lock
OpenSwoole\Constant::SPINLOCK create spin lock
OpenSwoole\Constant::SEM create semaphore