Join 4,000+ others and never miss out on new tips, tutorials, and more.
pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.2
If successful, a integer is returned which corresponds to an error code and message.
Get the error code of the most recent error.
Returns the error code of the most recent error. Allows you to execute different logic based on the error code returned.
The following are the different error codes which can be returned:
dispatch_mode3, indicates that the process is not currently available.