There may be a more direct path, but here you go:
<?php var_dump(unpack('f', pack('i', 1059760811))); ?>
This, of course, depends on the machine, but I donβt know a single machine running PHP that does not use IEEE 754 floats.
Matthew Apr 12 '10 at 20:14 2010-04-12 20:14
source share