Login   Register  
PHP Classes
elePHPant
Icontem

PHP color

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of hazem ali
Name: hazem ali <e-mail contact>
Packages: 1 Browse all classes by hazem ali Browse all classes by
Country: Egypt Egypt - PHP jobs in Egypt
Age: 28
All time rank: 221518 in Egypt Egypt
Week rank: 1387 Up15 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to format PHP code as colored HTML independent of the PHP code version.

It takes a string of PHP code and reformats it by adding HTML tags that can render the PHP constructs using different colors.

The PHP code text reformatting uses only regular expression replacement.

  Classes of hazem ali  >  PHP color  >  Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP color
Base name: phpcolor
Description: Format PHP code as colored HTML
Version: 1.0
PHP version: 5.0
License: Freeware
All time users: 819 users
All time rank: 3683
Week users: 1 user
Week rank: 1988 Up
 
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

  Files folder image Screenshots  
screenshot
File Role Description
Accessible without login Image file screenshot Screen screenshot


  Innovation Award  
PHP Programming Innovation award nominee
August 2008
Number 2

Prize: One book of choice from Manning
PHP provides built-in support to display PHP code with highlighted syntax.

However, if you want to highlight code for PHP 5 or later using PHP 4, it may not work, as the highlighting functions may fail because PHP 5 syntax is invalid under PHP 4.

This class provides an alternative solution based on replacing code with syntax highlighting tags using PHP version independent regular expressions.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (87.5%)
Good (81.2%)
-
Good (87.5%)
-
-
Sufficient (60.6%)
803
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example test
Plain text file phpcolor.php Class class source

Download all files: phpcolor.tar.gz phpcolor.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.