3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print("3d3d516343746d4d6d6c315669563362\n"); print(hex2bin(strrev(base64_decode("3d3d516343746d4d6d6c315669563362"))) + "\n"); print(bin2hex(strrev(base64_encode("03"))) + "\n");
Output for 7.1.0 - 7.3.0rc4
3d3d516343746d4d6d6c315669563362 Warning: hex2bin(): Input string must be hexadecimal string in /in/3g3Wp on line 4 Warning: A non-numeric value encountered in /in/3g3Wp on line 4 0 Notice: A non well formed numeric value encountered in /in/3g3Wp on line 6 Warning: A non-numeric value encountered in /in/3g3Wp on line 6 3
Output for 5.5.24 - 7.0.20
3d3d516343746d4d6d6c315669563362 Warning: hex2bin(): Input string must be hexadecimal string in /in/3g3Wp on line 4 03
Output for 5.4.0 - 5.4.45
3d3d516343746d4d6d6c315669563362 03
Output for 5.0.0 - 5.3.29
3d3d516343746d4d6d6c315669563362 Fatal error: Call to undefined function hex2bin() in /in/3g3Wp on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
3d3d516343746d4d6d6c315669563362 Fatal error: Call to undefined function: hex2bin() in /in/3g3Wp on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
3d3d516343746d4d6d6c315669563362 Fatal error: Call to undefined function: hex2bin() in /in/3g3Wp on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
3d3d516343746d4d6d6c315669563362 Fatal error: Call to undefined function: hex2bin() in /in/3g3Wp on line 4