5ubliminal Posted December 17, 2007 Share Posted December 17, 2007 I have an alternative hightlight_string php function that takes the output and defaces it beyond recognition ... but in a good way! It works with CSS allowing you to alter looks at will. Converts spans to classes and adds 3 new extra classes. Has many other changes and separates keywords from operators{}()-> (puts them in dif spans). It can even link all PHP function to the php.net site for quick info on function directory from code. Looking forward to any input from ya'all. I tested it and as long as input is good output is excellent:) PS: I'm really happy with the outcome. Link to comment https://forums.phpfreaks.com/topic/82031-i-got-an-awsome-alternative-to-highlight_string/ Share on other sites More sharing options...
Daniel0 Posted December 17, 2007 Share Posted December 17, 2007 Seeing as you have a list of functions you might want to link to the relevant manual entry. Link to comment https://forums.phpfreaks.com/topic/82031-i-got-an-awsome-alternative-to-highlight_string/#findComment-416877 Share on other sites More sharing options...
5ubliminal Posted December 17, 2007 Author Share Posted December 17, 2007 Seeing as you have a list of functions you might want to link to the relevant manual entry. The function has a parameter that enables linking. My blog is built in such way I had to disable the links but it does link if you call it with second param set to true. My blog defaces links so I disabled them. Link to comment https://forums.phpfreaks.com/topic/82031-i-got-an-awsome-alternative-to-highlight_string/#findComment-416889 Share on other sites More sharing options...
Recommended Posts