Let me read your mind: - You want to add line numbers to highlighted source code. - You hate Output Buffering; you love speed. - You want to serve a valid XHTML code. - You want
a function to return the highlighted code, instead of printing it out. Let me present my solution: