<?php error_get_last(): ?array
<?php { $this->terminate(); if (is_array($error = error_get_last())) { if (! in_array($error['type'], [E_ERROR, E_CORE_ERROR], true)) { return; }