3v4l.org

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

preferences:
81.46 ms | 406 KiB | 59 Q