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 33524c3 commit 65e2967Copy full SHA for 65e2967
DeprecationErrorHandler.php
@@ -161,7 +161,8 @@ private static function hasColorSupport()
161
{
162
if ('\\' === DIRECTORY_SEPARATOR) {
163
return
164
- '10.0.10586' === PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD
+ defined('STDOUT') && function_exists('sapi_windows_vt100_support') && sapi_windows_vt100_support(STDOUT)
165
+ || '10.0.10586' === PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD
166
|| false !== getenv('ANSICON')
167
|| 'ON' === getenv('ConEmuANSI')
168
|| 'xterm' === getenv('TERM');
0 commit comments