PHP Manual

PHP function error_get_last()

2019-09-11T08:04:03.000Z

Obsah článku

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.

Additional resources

Official documentation for error-get-last

Jan Barášek   Více o autorovi

Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.

Rád vám pomůžu:

Související články

1.
217.

V jiných jazycích

Status:
All systems normal.
2025