NYCPHP Meetup

NYPHP.org

[nycphp-talk] Printing Colorful Arrays In The Terminal...

Matthew Kaufman mkfmncom at gmail.com
Thu May 31 11:48:19 EDT 2012


http://pear.php.net/Console_Color

On Thursday, May 31, 2012, Darryle Steplight wrote:

> Hi Everyone,
>
>       I'm writing a cron script which I'm testing by executing the
> script from the command line. The output is obviously displaying in
> the terminal and I would like to change the font color for three
> different arrays to red, white or yellow.  How do I need to write my
> echo statements to make print_r( $array1 ); display red, white or
> yellow in the terminal?
>
> --
> ----------------------------------------------
> "May the Source be with you."
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show-participation
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20120531/4e4ec4bb/attachment.html>


More information about the talk mailing list