<?php set_error_handler(function($errno, $errstr, $errfile, $errline, $errcontext) { // error was suppressed with the @-operator if (0 === error_reporting()) { return false; } throw new ErrorException($errstr, 0, $errno, $errfile, $errline); }); try { var_dump(fopen('file not exist', 'r')); } catch (Throwable $e) { var_dump($e); }
You have javascript disabled. You will not be able to edit any code.