error_get_last(PHP 5 >= 5.2.0) error_get_last ? Get the last occurred error Descripción
array error_get_last
( void
)
Gets information about the last error that occured. Valores retornadosReturns an associative array describing the last error with keys "type", "message", "file" and "line". Returns NULL if there hasn't been an error yet. Ejemplos
Example #1 An error_get_last() example
<?phpEl resultado del ejemplo seria algo similar a:
|
