Login   Register  
PHP Classes
elePHPant
Icontem

Highlighter: Reformat highlighted PHP code

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-03-25 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 626 All time: 4,589 This week: 1,546Up
Version License PHP version Categories  
php_highlighter 1.0GNU General Public Lice...4.3.2HTML, Text processing
Description Author  

This class can be used to reformat highlighted PHP code.

It can highlight PHP code and turn keywords into links to the respective manual page in the PHP.net site.

If the code is not enclosed in PHP code tags <?php and ?>, first it adds these tags before highlighting the code.

It can also escape a text string to display as HTML using configurable block tags.

Picture of Giulio Bai
Name: Giulio Bai <contact>
Classes: 8 packages by
Country: Italy Italy
Age: 24
All time rank: 31012 in Italy Italy
Week rank: 787 Down37 in Italy Italy Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file highlighter.php Class The main class file, containing comments and examples.
Accessible without login Plain text file example1.php Example Example #1
Accessible without login Plain text file example2.php Example Example #2
Accessible without login HTML file doc.html Doc. Documentation
Accessible without login Plain text file LICENSE Lic. GNU General Public License

 Version Control Unique User Downloads Download Rankings  
 0%Total:626All time:4,589
 This week:0This week:1,546Up