Just a simple PHP syntax highlighting function
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
README.md
function.highlight.php
highlight.css
index.php

README.md

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)