|
PHP5中文手册
error_get_last(PHP 5 >= 5.2.0) error_get_last — Get the last occurred error 说明
array error_get_last
( void
)
Gets information about the last error that occured. 返回值Returns an associative array describing the last error with keys "type", "message", "file" and "line". Returns NULL if there hasn't been an error yet. 范例
Example#1 An error_get_last() example
<?php 上例的输出类似于:
|