Hi all,
I am trying to apply syntax coloring to my source code
as I type it in unix shell. I work on a mac machine. How do I achieve this.
In the php.ini file I see these following lines
commented out.
; Colors for Syntax Highlighting mode. Anything that's acceptable in ; <font color="??????"> would work. ;highlight.string = #DD0000 ;highlight.comment = #FF9900 ;highlight.keyword = #007700 ;highlight.bg = #FFFFFF ;highlight.default = #0000BB ;highlight.html = #000000
Should I uncomment the above lines?
These lines are to set up custom colors for the highlight_* functions and for the automatic highlighting of .phps files.
For your console needs, you would need to find an editor that supports PHP highlighting. Almost all unix based editors do. For example, vim does PHP syntax highlighting, as I'm sure Emacs has a mode that does this too (I don't use emacs).
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php