Re: phps line numbering

From: Date: Fri, 17 Mar 2006 03:54:17 +0000
Subject: Re: phps line numbering
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-22493@lists.php.net to get a copy of this message
This one time, at band camp, Alan Knowles <alan@akbkhome.com> wrote: > Not sure if it's a prefect solution, but this could easily be done: --8< --- snip I dont see why line numbering is an issue. If you want to highlight code ala pastebin style, simpley echo hightlight_string($string, 1); or if it is a file highlight_file(); This leaves line numbering in phps and I guess a switch using GET could be added, but essentially phps is an excellent tool for debugging. Kind regards Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote."

« previous php.internals (#22493) next »