严格模式
在`4.1.0`版本后可用, 开启严格模式后, 调用常用的阻塞IO的函数和方法会出现警告
函数原型
----
```php
function Swoole\Runtime::enableStrictMode();
```
警告信息
----
```php
Warning: sleep() has been disabled for security reasons in strictmode.php on line 5
```
在`4.1.0`版本后可用, 开启严格模式后, 调用常用的阻塞IO的函数和方法会出现警告
函数原型
----
```php
function Runtime::enableStrictMode();
```
示例以及警告信息
----
```php
Swoole\Runtime::enableStrictMode();
sleep(1);
```
```shell
Warning: sleep() has been disabled for security reasons in strictmode.php on line 5
```