Skip to content

Commit bcfb6d2

Browse files
authored
Change return value to false in error handler (#86)
1 parent 67dedae commit bcfb6d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/errorfunc/functions/set-error-handler.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ function myErrorHandler($errno, $errstr, $errfile, $errline)
214214
if (!(error_reporting() & $errno)) {
215215
// Questo codice di errore non è incluso in error_reporting, quindi lascia che ricada
216216
// nel gestore degli errori PHP standard
217-
return;
217+
return false;
218218
}
219219
220220
// potrebbe essere necessario effettuare l'escape di $errstr:

0 commit comments

Comments
 (0)