我正在寻找error_get_last()
中可能的"类型"的错误列表
例如,方法返回如下数组:
Array
(
[type] => 1
[message] => Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes)
[file] => /dir/file.php
[line] => 123
)
所以我假定" 1 "是一个"致命错误 "
其他的是什么?
这些类型只是php的错误常量。