The design of coroutine in PHP Swoole is similar to the coroutine in Golang:
But there are some differences between the coroutine in PHP Swoole and the coroutine in Golang:
This article introduce how to get started with Swoole without manually compile the Swoole PHP extension.
Docker make it easy for us to try Swoole with only several commands.
Make sure you have installed Docker on your machine and updated the swoole version to be the latest version.