O
O
OnYourLips2016-07-06 00:26:30
PHP
OnYourLips, 2016-07-06 00:26:30

How to disable ANSI colors in PHP under Windows?

You need to write a small script for Windows, usually I don’t write under Windows.
Found a strange problem:

>composer self-update
←[30;43mYou are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug←[39;49m
←[32mYou are already using composer version 1.1.3 (stable channel).←[39m

How can I disable these escape sequences for changing colors?
Windows 10, PHP 7.0.8.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey delphinpro, 2016-07-06
@OnYourLips

I don't know how to turn it off. I can suggest the opposite way - use another console that supports escape sequences https://yadi.sk/d/L10MkzTjt3HS2

K
Kirill Arutyunov, 2016-07-06
@arutyunov

Try ConEmu , for example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question