Edit report at http://bugs.php.net/bug.php?id=53622&edit=1
ID: 53622 Updated by: johan...@php.net Reported by: mnelson at teshy dot com Summary: CLI -w separate functions of striping whitespace and comments Status: Open Type: Feature/Change Request Package: CGI related Operating System: all PHP Version: 5.3.4 Block user comment: N Private report: N New Comment: I believe it is better to do this in userland. I'd actually drop the -w flag completely. Keeping the bug open so people can disagree and implement it :-) btw. a userspace beautifier is on http://pear.php.net/package/PHP_Beautifier Previous Comments: ------------------------------------------------------------------------ [2010-12-28 17:44:55] mnelson at teshy dot com Description: ------------ It would be useful if The Command line option "-w" for stripping comments and whitespace was broken down into separate commands. One for striping whitespace and one for striping comments, the commands could be combined for users that want both. In our use case we have code that has become unreadable and needs excessive whitespace removed so it can be reformatted properly, we however want to keep all code comments. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53622&edit=1