3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function encodeSecret($secret) { return hex2bin(strrev(base64_decode($secret))); } echo strval(encodeSecret("3d3d516343746d4d6d6c315669563362"); ?>
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected ';' in /in/CV9Oh on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Parse error: syntax error, unexpected ';' in mcaqN on line 5
Process exited with code 255.