Open fprochazka opened 2 years ago
the custom error handler
set_error_handler(function ($errno, $errstr, $errfile, $errline, array $errcontext): bool {
must have the $errcontext optional, see https://github.com/getsentry/sentry-php/blob/6bf81be28f8557ce22e16502256a21332478e949/src/ErrorHandler.php#L257-L273
$errcontext
otherwise, the real error is swallowed and the error in error handler is reported instead
the custom error handler
must have the
$errcontext
optional, see https://github.com/getsentry/sentry-php/blob/6bf81be28f8557ce22e16502256a21332478e949/src/ErrorHandler.php#L257-L273otherwise, the real error is swallowed and the error in error handler is reported instead