Skip to content

Commit

Permalink
Fix php proxy for PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Jan 1, 2021
1 parent beadaea commit 570d761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
$last_error = NULL;

// Save errors
set_error_handler(function($errno, $errstr, $errfile, $errline, $errcontext) {
set_error_handler(function($errno, $errstr, $errfile, $errline) {
global $last_error;
$last_error = new ErrorException($errstr, 0, $errno, $errfile, $errline);
});
Expand Down

0 comments on commit 570d761

Please sign in to comment.