Login   Register  
PHP Classes

Remove comments in a string: Remove all comments from a string of 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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-03-24 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 898 All time: 3,633 This week: 1,814Up
Version License Categories  
remove_comments 1.0GNU General Public Lice...Text processing
Description Author  
This class can be used to remove comments from a string of code.

It can process lines of PHP code and remove all comment text that follows a comment character.

By default it assumes that the # character start a comment text, but it can be configured to use another comment start character.
Picture of Heriberto Mantilla Santamarķa
Name: Heriberto Mantilla ... <contact>
Classes: 2 packages by
Country: Colombia Colombia
Age: 34
All time rank: 4325 in Colombia Colombia
Week rank: 783 Down7 in Colombia Colombia Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file Readme.txt Lic. Readme
Plain text file RemoveComment.php Class Class

 Version Control Unique User Downloads Download Rankings  
 0%Total:898All time:3,633
 This week:0This week:1,814Up
 User Comments (1)  
this comment remover clas not working in «//» and «/*.
6 years ago (Arab men from persian gulf)