PHP Classes
Icontem

Class: PHP color


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of hazem ali  >  PHP color  >  Download  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP color Support forum
Base name: phpcolor
Description: Format PHP code as colored HTML
Related top rated classes:
Version: 1.0
Required PHP version: 5.0
License: Freeware
All time users: 587 users
All time rank: 3381
Week users: 5 users
Week rank: 1475
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Screenshots

screenshot
File Role Description
Accessible without login Image file screenshot Screen screenshot

Author

Picture of hazem ali
Name: hazem ali <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Egypt Egypt - PHP jobs in Egypt
Home page: http://egyplus.org/
Age: 25
All time rank: 1898
Week rank: 1042

Innovation Award

PHP Programming Innovation award nominee
August 2008
Number 2
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

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

Detailed description

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.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (87.5%)
Good (81.3%)
-
Good (87.5%)
-
-
Sufficient (60.6%)
660
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

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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products