Function __global->error_get_last
Definitions
sources_custom/phpstub.php
- Get the last occurred error.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Returns
- Details of the last occurred error (map with 'type', 'message', 'file', 'line') (null: none)
- Type: ?array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the last occurred error.
*
* @return ?array Details of the last occurred error (map with 'type', 'message', 'file', 'line') (null: none)
*/
function error_get_last() : ?array
* Get the last occurred error.
*
* @return ?array Details of the last occurred error (map with 'type', 'message', 'file', 'line') (null: none)
*/
function error_get_last() : ?array

