bootstrap.php 285 B

12345678910
  1. <?php
  2. require __DIR__ . "/../vendor/autoload.php";
  3. set_error_handler(static function ($errno, $errstr, $errfile, $errline): bool {
  4. if (!(error_reporting() & $errno)) {
  5. return false;
  6. }
  7. throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
  8. }, \E_ALL);