3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<? $encodedSecret = "3d3d516343746d4d6d6c315669563362"; function encodeSecret($secret) { return bin2hex(strrev(base64_decode($secret))); } print encodeSecret($encodedSecret); ?>
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
b67edf7adeeb7a5edf9cdee91ddee9f87ee3b75ee7dddddd
Output for 4.3.0 - 5.3.29
<? $encodedSecret = "3d3d516343746d4d6d6c315669563362"; function encodeSecret($secret) { return bin2hex(strrev(base64_decode($secret))); } print encodeSecret($encodedSecret); ?>