How can I convert from bytes to float in php? Like in Java
int i = (byte3 & 0xff) << 24 | (byte2 & 0xff) << 16 | (byte1 & 0xff) <&
There may be a more direct way, but here you go:
This is, of course, machine dependent, but I don't know of any machine running PHP that doesn't use IEEE 754 floats.