3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(bin2hex(hex2bin('915256AB7CEB3D4FEDCC6C3C6F4B20ECF5F62E18FFF9838FCFCFCC75302FAECEA7CA2E67C2D2540D9C5D453B15F9C03F26FB29699E9E9CD0D62423133F56E587')));
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(128) "915256ab7ceb3d4fedcc6c3c6f4b20ecf5f62e18fff9838fcfcfcc75302faecea7ca2e67c2d2540d9c5d453b15f9c03f26fb29699e9e9cd0d62423133f56e587"
Output for 5.2.3 - 5.3.29
Fatal error: Call to undefined function hex2bin() in /in/1gkAf on line 3
Process exited with code 255.
Output for 5.0.0 - 5.2.2
<br /> <b>Fatal error</b>: Call to undefined function hex2bin() in <b>/in/1gkAf</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: hex2bin() in <b>/in/1gkAf</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: hex2bin() in <b>/in/1gkAf</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: hex2bin() in <b>/in/1gkAf</b> on line <b>3</b><br />