Skip to content

digitalnature/php-highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A PHP syntax highlighting function (for PHP code), that relies on the PHP tokenizer.

Tokens are wrapped between span tags with camelCased token names as class attributes. Internal PHP functions are also wrapped in links that point to the PHP docs.

Requires PHP 5.3+ !

DEMO (see index.php)

About

Just a simple PHP syntax highlighting function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages