Search This Blog

Wednesday, April 3, 2013

Minify / Obfuscate PHP Code - Stack Overflow

Minify / Obfuscate PHP Code - Stack Overflow:

Why not use the php buid in function php_strip_whitespace()
string php_strip_whitespace ( string $filename )
Returns the PHP source code in filename with PHP comments and whitespace removed. This may be useful for determining the amount of actual code in your scripts compared with the amount of comments. This is similar to using php -w from the commandline.

No comments:

Post a Comment