Forum Moderators: coopster
@mr_nabo, php_strip_whitespace seems to only affect PHP source code, ie. everything between <?php ... ?> The HTML code is left intact. I'm not sure if there are already functions for that, but you can make one yourself :)
Easy way: str_replace(array("\r", "\n"), '', php_strip_whitespace('file.php'));
Will give you file, with no comments and line breaks.