3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print("3d3d516343746d4d6d6c315669563362\n"); print(hex2bin(strrev(base64_decode("03d3766203631383430313d316625353037333d307f3b63696c636f2d6f636e22756c62657f6465646162747e2b6c636f2f2a307474786"))) + "\n"); print(bin2hex(strrev(base64_encode("03"))) + "\n");
based on 3g3Wp
Output for 7.1.0
3d3d516343746d4d6d6c315669563362 Warning: hex2bin(): Input string must be hexadecimal string in /in/r8nbo on line 4 Warning: A non-numeric value encountered in /in/r8nbo on line 4 0 Notice: A non well formed numeric value encountered in /in/r8nbo on line 6 Warning: A non-numeric value encountered in /in/r8nbo on line 6 3
Output for 5.5.24 - 5.6.28, 7.0.0 - 7.0.14
3d3d516343746d4d6d6c315669563362 Warning: hex2bin(): Input string must be hexadecimal string in /in/r8nbo on line 4 03
Output for hhvm-3.12.0
3d3d516343746d4d6d6c315669563362 Warning: hex2bin: malformed input in /in/r8nbo on line 4 03
Output for hhvm-3.10.0

Process exited with code 153.
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/r8nbo 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/r8nbo 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/r8nbo 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/r8nbo on line 4