I do like the idea of expanding on resource highlighting, but I'd like to sugguest we keep the php syntax highlighter as is as who's to say the user is going to have javascript enabled in the first place?
The benefit of server-side is that you don't have to depend on user security settings to relay the same content and have it appear as it should...