3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $encodedSecret = "3d3d516343746d4d6d6c315669563362"; function encodeSecret($secret) { return bin2hex(strrev(base64_encode($secret))); } funciton decodeSecret($secret){ return base64_decode(sstrev(hex2bin($secret))); }
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected 'decodeSecret' (T_STRING) in /in/Q3e5k on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/Q3e5k on line 7
Process exited with code 255.