How do I enable the colors for output of CLI?The below one is, running on Ubuntu.
If you see the screenshot, obviously the colors is enabled for terminal. And, if I call echo
, it doesn't colorize the result, but if I use echo -e
, it colorizes.
I checked manual page of echo
, and -e
means enable interpretation of backslash escapes
How can I enable this option for PHP CLI?