Jump to content

Recommended Posts

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.

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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.