Compare commits

..

1 Commits

Author SHA1 Message Date
Haralan Dobrev
e191af723b Add PHPDbg support to HTTP components 2018-04-03 07:05:54 +02:00

View File

@@ -45,7 +45,7 @@ class Debug
error_reporting(-1);
}
if (!in_array(PHP_SAPI, array('cli', 'phpdbg'))) {
if (!\in_array(PHP_SAPI, array('cli', 'phpdbg'), true)) {
ini_set('display_errors', 0);
ExceptionHandler::register();
} elseif ($displayErrors && (!ini_get('log_errors') || ini_get('error_log'))) {