note 92117 added to features.commandline
| From: | Ross at osu1 dot php dot net | Date: | Thu, 09 Jul 2009 13:58:28 +0000 |
| Subject: | note 92117 added to features.commandline | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158102@lists.php.net to get a copy of this message | ||
On linux, you can use ANSI Escape sequences to colour console output:
<?php
echo "\033[32m" . "Coloured text";
?>
This does not work as intended on windows. Is there any way I can use ANSI escape sequences in
windows? If not so, is there any way I can colour the windows console from PHP?
----
Server IP: 69.147.83.197
Probable Submitter: 81.156.240.140
----
Manual Page -- http://www.php.net/manual/en/features.commandline.php
Edit -- https://master.php.net/note/edit/92117
Del: integrated -- https://master.php.net/note/delete/92117/integrated
Del: useless -- https://master.php.net/note/delete/92117/useless
Del: bad code -- https://master.php.net/note/delete/92117/bad+code
Del: spam -- https://master.php.net/note/delete/92117/spam
Del: non-english -- https://master.php.net/note/delete/92117/non-english
Del: in docs -- https://master.php.net/note/delete/92117/in+docs
Del: other reasons-- https://master.php.net/note/delete/92117
Reject -- https://master.php.net/note/reject/92117
Search -- https://master.php.net/manage/user-notes.php