PhpCommentRemover v0.1

Submitted By: giupnol
Rating: star (Rate It)
Share: Share By Email By Email

It's a small shell utility that removes comment from a text
file containing php code. It that takes 2 arguments: the source
php file and the destination file name. It parses the source
file, copying everything not included between <? and ?> to the
destination file. While copying the php source, it omits the
c++ style comments (//....\r\n) and the c style comments (/* ..
*/). So, the resulting php file is semantically the same as the
source, but with no comments. It checks, of course that what it
keeps from copying to the destination file are really comments
(i.e. : echo " // blabla \" /* blabla */ \' ' \" "; gets copied
in the destination file, since it does not contains any
comment). It's a very small utility that i needed today and I
did not find in the net, so I hope it can be useful to
somebody. If needed, I could develop it adding a gui and a
batching system, in order to apply it to entire folders.


NOTE: Some downloads must be obtained through publishers´s site.
Do you want to get your software listed on this site? Go to our submissions area.

Screenshot


Details

File Name:
39167.zip
Product homepage:
Order page:
Languages:
PHP
Platforms:
Unknown
Release date:
3/15/2005
License:
Unknown
Size:
5 KB
Price/Fee (US$):
Unknown
Number of downloads:
319

Comments (1)

Comment star   Posted by: donie on Thursday, September 28, 2006

this program does not remove whitespace C comment style (#)

Add Your Rating

(Not published)
star
starstar
starstarstar
starstarstarstar
starstarstarstarstar
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.