Skip to content

digitalnature/php-highlight

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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