Change the pack/unpack format codes 'f' -> 'g' and 'd' -> 'e' which ensure little endian format is used on the wire regardless of machine endianness. According to the PHP documentation, 'g' and 'e' were added in PHP versions 7.0.15 and 7.1.1.pull/13444/head
parent
3511f8acf9
commit
7840e09755
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue