At 23.03.2002  00:05, you wrote:
>
>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.

I know, and use these on LINUX, but I donīt want to spend time to develop 
something
which is already made and tested. This will take a minimum of 6 hours dev.
Iīm now in a position, where I cannot spend this time

>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 ;)

Thatīs right, there are two versions of code, one for development,
the other, cleaned is on the production (ISP)machine. As I write a lot of 
comments in a source,
(Good Code == Commented Code ;) ) It could make more than 50% of the code.
As you maybe have read the posts on speeding up the processing of code 
(last week),
every line which is not necessary shouldnīt be read by the PHP-parser. I 
also found
that if you remove the LF (CR/LF) combination, thereīs a time reduce, even 
this practice
is dangerous, especially for JavaScripts.

>If you don't want a customer to see them, use the Zend Encoder and hide
>all your source.

This makes need of php4* on the ISP, and I donīt want to encrypt the code, 
just clean it.
To encrypt, Enrico suggested a link http://pobs.mywalhalla.net/ which does 
this, free of charge.

Any other suggestions out there?

Oliver





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to