历史版本1:严格模式
在4.1.0
版本后可用, 开启严格模式后, 调用常用的阻塞IO的函数和方法会出现警告
函数原型
function \Swoole\Coroutine\Runtime::enableStrictMode();
警告信息
Warning: sleep() has been disabled for security reasons in strictmode.php on line 5
© Swoole.com 2008 - 2023 备案号:苏ICP备19021875号-1 | 苏公网安备 32058302002209号 | 版权声明
官方QQ群:810919826 开发组邮件列表: team@swoole.com 当前Swoole扩展版本:swoole-SWOOLE_VERSION