We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a777c0e commit 3d45a72Copy full SHA for 3d45a72
Debug.php
@@ -24,7 +24,7 @@ public static function enable(): ErrorHandler
24
25
if (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true)) {
26
ini_set('display_errors', 0);
27
- } elseif (!filter_var(\ini_get('log_errors'), \FILTER_VALIDATE_BOOLEAN) || \ini_get('error_log')) {
+ } elseif (!filter_var(\ini_get('log_errors'), \FILTER_VALIDATE_BOOL) || \ini_get('error_log')) {
28
// CLI - display errors only if they're not already logged to STDERR
29
ini_set('display_errors', 1);
30
}
0 commit comments