Obfuscate/Encode/Encrypt PHP System Function Names

Can anyone tell me if it is okay/acceptable to obfuscate ALL function names in PHP?

For example, this seems to work using an online tool:

Original:

if(file_exists($file)){chmod($file,0644);echo"good";}

Obfuscated:

$x0c="\143hm\x6f\144"; $x0d="\x66\x69\x6ce\x5f\x65\170\151\x73\164\x73"; 
if($x0d($x0b)){$x0c($x0b,0644);echo"go\x6fd";}?>

My questions:

  1. Notice it no longer has file_exists or chmod functions, but will this work on any PHP installation setup/version?
  2. Using this method, can any PHP function be done such as these: file(), eval(), base64_decode(), file_get_contents(); str_rot13(), strpos(), touch(), filemtime() ?
  3. Does this work on windows, linux, etc.. servers?

Leave a Reply

*

Hire Me
Follow Me!
Search
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.
Categories