PHP function error_get_last()
Availability in versions: PHP 5.2.0
Get the last occurred error
Parameters
The function has no input parameters.
Return values
array
an associative array describing the last error with keys "type", "message", "file" and "line". Returns &null; if there hasn't been an error yet.