Skip to content

Commit 7ad7192

Browse files
authored
set_error_handlerのサンプルコードを修正 (#320)
1 parent 31338c8 commit 7ad7192

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
@@ -225,7 +225,7 @@ function myErrorHandler($errno, $errstr, $errfile, $errline)
225225
if (!(error_reporting() & $errno)) {
226226
// error_reporting 設定に含まれていないエラーコードのため、
227227
// 標準の PHP エラーハンドラに渡されます。
228-
return;
228+
return false;
229229
}
230230
231231
// $errstr はエスケープする必要があるかもしれません。

0 commit comments

Comments
 (0)