On Fri, 16 Feb 2001, Joe Sheble aka Wizaerd wrote:
> Is there anything that evaluates PHP code and checks for optimization? Not
> like the Zend Optimizer, but one that checks for things such as variables
> that were defined but never used, repeated variables, unnecessary
> statements or constructs? Basically a code cleaner such as C, C++, Java,
> etc all have?
And, on a related (but maybe not really) note. Is there anything like
a PHP code obfuscator sort of like the old C shroud? I'm looking at
something that reads a PHP script, looks at all include files it
depends on, and then goes through them all and changes function names,
class names (if any... i still write only functions... despite java and
C++ experience, getting conservative in my old age), parameters and
local variables?
I could go with the Zend tools, I suppose. but there isn't enough
money here for that yet (third-world... who can afford software that
costs the same as the salaries of 8 to 10 programmers?). someday...
in the meantime, well, i'd rather use someone else's tool than spend
a month or so hacking out my own.
i'm aware that such a tool would not work as simplistically as i've
said above. that's just an example :). of course i'm aware that the
thing would have to go through my entire codebase and use a common
symbol table/translation table for all files in the codebase :).
tiger
--
Gerald Timothy Quimpo [EMAIL PROTECTED] http://members.xoom.com/TigerQuimpo
entia non sunt multiplicanda veritas liberabit vos
praetere necessitatem mene sakhet ur-seveh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]