Re: Re: Tool to remove comments??

From: Date: Sat, 23 Mar 2002 08:05:24 +0000
Subject: Re: Re: Tool to remove comments??
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-89822@lists.php.net to get a copy of this message
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" <inerte@hotmail.com> 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" <creaction@compuserve.com> wrote in message > news:4.3.1.2.20020322121141.00c05cd0@pop.compuserve.com... > > 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 >

« previous php.general (#89822) next »