3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = '406429c28f5c28f6'; $num = unpack('d', strrev(hex2bin($data))); var_dump($num);
Output for 5.4.0 - 7.1.0
array(1) { [1]=> float(161.305) }
Output for 5.0.0 - 5.3.29
Fatal error: Call to undefined function hex2bin() in /in/PDOdr on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hex2bin() in /in/PDOdr on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hex2bin() in /in/PDOdr on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hex2bin() in /in/PDOdr on line 4