PHP Classes

Remove comments in a string: Remove all comments from a string of code

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 919 All time: 3,873 This week: 70Up
Version License Categories
remove_comments 1.0GNU General Publi...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: United States United States

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:919
This week:0
All time:3,873
This week:70Up
User Comments (1)