English
error_get_last() function returns the last error (in the form of an associative array).
error_get_last()
The associative array contains four keys:
error_get_last ( ) ;