3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$number = 4619191942746344941; $pack = pack('H*', '401AAA9930BE0DED'); $pack = strrev($pack); var_dump(unpack('d', $pack));
based on SsOon
Output for 4.3.5 - 7.1.0
array(1) { [1]=> float(6.6666) }
Output for 4.3.0 - 4.3.4
array(1) { [""]=> float(6.6666) }