NYCPHP Meetup

NYPHP.org

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

Darryle Steplight dsteplight at gmail.com
Thu May 31 11:44:34 EDT 2012


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."



More information about the talk mailing list