PHP syntax highlighting added

In the process of posting about my newest addition of gravatar support I encountered some the “problem” that php code isn’t displayed all that nicely within posts. So I search a little and came up with PHPizer which is doing some nice php syntax highlighting now. Thumbs up to the author :-)

7 Comments so far

  1.   Gravatar   Rico Hauke on November 22nd, 2004

    < ? php print 1+1 ?>

  2.   Gravatar   Ingoal on November 22nd, 2004

    Sorry, but that is only working for posts…not comments ;-)
    …and the answer is 2 :-)

  3.   Gravatar   Rico Hauke on November 22nd, 2004

    Hmm, and I thought the answer would be 42!?

  4.   Gravatar   Ingoal on November 22nd, 2004

    Hehe :-)

    True, true, BUT print 1+1 should output 2 now shouldn’t it ;-)

  5.   Gravatar   Amit Gupta on November 28th, 2004

    Ingoal, I think that you should try out my plugin iG:Syntax Hiliter. It supports 14 more languages besides PHP & is quite a lot customisable. Also, the code hilited by iG:Syntax Hiliter is copy-paste friendly while that’s not the case with PHPizer hilited code. Also, iG:Syntax Hiliter offers line numbering, fixed length code boxes with scrollbars, ability to start line numbers at any number & lots more.

  6.   Gravatar   Ingoal on November 28th, 2004

    Groovy…I’ll have a look later on…

  7.   Gravatar   matt on February 26th, 2005

    i am too having trouble with the syntax

Leave a reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Bad Behavior has blocked 906 access attempts in the last 7 days.