error_get_last Get the last occurred error &reftitle.description; arrayerror_get_last Gets information about the last error that occured. &reftitle.returnvalues; 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. &reftitle.examples; An <function>error_get_last</function> example ]]> &example.outputs.similar; 8 [message] => Undefined variable: a [file] => C:\WWW\index.php [line] => 2 ) ]]> &reftitle.seealso; Error constants Variable $php_errormsg Directive display_errors