Join 4,000+ others and never miss out on new tips, tutorials, and more.
4.x is outdated, please check the latest version 22.x
pecl install openswoole-22.0.0
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.