Come to the 2010 CMS Expo

comments

Compressing PHP source code

I've long been toying with the idea of creating a PHP compressor that would combine multiple source files, remove comments, and minimize whitespace. The point of such a compressor isn't obfuscation, but just minimizing code space for libraries. (Hypothetically, it should cut down on runtime... but I suspect the performance impact is minimal).

A few readers suggested a better way of doing this. See the update!

Syndicate content