error_reporting

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Sets which PHP errors are reported
<?php error_reporting(?int $error_level = null): int
<?php     public function register(): self

    {

        error_reporting(-1);




        set_error_handler([$this, 'renderError']);