Compression: Cruncher class
Andrea Giammarchi (contact me)
This class can be used to compact source code by removing comments and white space.
It uses the SourceMap class to extract only the relevant tokens to remove comments and white space from the original source code.
It was meant to process code in languages based on ECMAScript, like JavaScript, ActionScript, and others, but could be used to clean code in other languages.
Click here for detailed information about this class on phpclasses.org