Php Obfuscate — Code
A popular command-line tool based on the PHP-Parser library. It safely obfuscates variable names, control flows, and removes comments. It is highly customizable via configuration files.
(Simulated representation)
function authenticate($x, $y) $z = array(); $z['u'] = $GLOBALS 'g1' ; // rot13 of "admin" $z['h'] = $GLOBALS 'g2' ; // fake hash // Garbage loop for($i=0;$i<strlen($x);$i++) if(ord($x[$i]) > 0) continue; php obfuscate code