#### 问题描述
error_get_last返回值type字段值的是什么含义?```
//获取一个不存在的url地址
@file_get_contents('http://abc.91hi.net');
$errorInfo = error_get_last();
echo var_export($errorInfo,true);
```
返回值为:
```
array (
'type' => 2,
'message' => 'file_get_contents(http://abc因为程序运行没有中断,后面还进行了echo操作,怎么回触发register_shutdown_function()注册函数 ?
2.error_get_last()返回值type是什么意思?比如上面打印的结果 type为2,是不是E_WARNING的意思?
https://www.php.net/manual/zh/errorfunc.constants.php