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
OpenSwoole\Runtime::HOOK_ALL flag will enable all hooks within the coroutine context.
v4.5.4 this hook contains
<?php Co::set(['hook_flags' => OpenSwoole\Runtime::HOOK_ALL]); // All hooks but not including CURL Co::set(['hook_flags' => OpenSwoole\Runtime::HOOK_ALL ^ OpenSwoole\Runtime::HOOK_CURL]);