Php Obfuscator / Compressor


This is a class i made to compress and obfuscate php code, it is designed with specific coding style in mind, nothing crazy, everything should be easy to find by a Regular expression.

https://gist.github.com/1501834

Variables, functions & classes are minifyed, spaces removed. The replacement pattern is $foo –>  $_1   and the number will be incrementing each match.

Enjoy.

Advertisements