there's also two tools called sed and grep that are available on any unix system. and probably easily gettable on windblows.
That can probably remove most comments. Why you would want to remove comments, I don't know. They are very useful in the future when fixing something or changing something. Good Code == Commented Code Well, Good Code is at least a subset of commented code ;) If you don't want a customer to see them, use the Zend Encoder and hide all your source. On Sat, 23 Mar 2002 04:38:40 -0300 "Julio Nobrega" <[EMAIL PROTECTED]> mentioned: > There's an php obfuscator, http://pobs.mywalhalla.net/, and one of the > options is to remove comments. > > -- > Julio Nobrega. > > Um dia eu chego lá: > http://sourceforge.net/projects/toca > > Ajudei? Salvei? Que tal um presentinho? > http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 > "Oliver Heinisch" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi Folks, > > does anybody know a tool for removing comments out of PHP scripts? > > > > I mean // this is a comment > > and /* this is also a comment */ > > > > it should also handle something like > > echo'http://somewher.somecom/somepage'; // this goes to somewhere > > and multiline comment like > > /* > > ..blah > > */ > > maybe anybody has an awk script, that he/she will share with me. > > TIA Oliver > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php