历史版本1:严格模式

4.1.0版本后可用, 开启严格模式后, 调用常用的阻塞IO的函数和方法会出现警告

函数原型

function \Swoole\Coroutine\Runtime::enableStrictMode();

警告信息

Warning: sleep() has been disabled for security reasons in strictmode.php on line 5