3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(bin2hex(pack('E', 1e13))); var_dump(unpack('E', hex2bin('42a2309ce5400000')));
Output for 8.1.0 - 8.1.27, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
string(16) "42a2309ce5400000" array(1) { [1]=> float(10000000000000) }

preferences:
83.59 ms | 402 KiB | 59 Q