streamSupportsAnsiColors() public static method
Returns true if the stream supports colorization. ANSI colors are disabled if not supported by the stream.
- windows without ansicon
- not tty consoles
public static boolean streamSupportsAnsiColors ( $stream ) | ||
---|---|---|
$stream | mixed | |
return | boolean |
True if the stream supports ANSI colors, otherwise false. |
Please login to continue.