3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<? $encodedSecret = "3d3d516343746d4d6d6c315669563362"; function encodeSecret($secret) { return hex2bin(strrev(base64_decode($secret))); } print encodeSecret($encodedSecret); print "Access granted. The password for natas9 is <censored>"; ?>
Output for 5.5.1 - 5.6.28, 7.0.0 - 7.1.0
Warning: hex2bin(): Input string must be hexadecimal string in /in/ogfcX on line 6 Access granted. The password for natas9 is <censored>
Output for hhvm-3.10.0 - 3.12.0
Warning: hex2bin: malformed input in /in/ogfcX on line 6 Access granted. The password for natas9 is <censored>
Output for 5.4.0 - 5.5.0
Access granted. The password for natas9 is <censored>
Output for 4.3.0 - 5.3.29
<? $encodedSecret = "3d3d516343746d4d6d6c315669563362"; function encodeSecret($secret) { return hex2bin(strrev(base64_decode($secret))); } print encodeSecret($encodedSecret); print "Access granted. The password for natas9 is <censored>"; ?>