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); ?>
Output for 5.5.24 - 7.1.0
Warning: hex2bin(): Input string must be hexadecimal string in /in/BESn5 on line 6
Output for 5.4.0 - 5.4.45
Output for 4.3.0 - 5.3.29
<? $encodedSecret = "3d3d516343746d4d6d6c315669563362"; function encodeSecret($secret) { return hex2bin(strrev(base64_decode($secret))); } print encodeSecret($encodedSecret); ?>