I want to use $_REQUEST
to get a 64-bit integer, but it does not support 64-bit. (It will be turned to a float.) I need to pack this data and send to service. However it should be big endian byte order, so I can't use format f
(float (machine dependent size and representation)) to pack it.
I tried to break it to four 16-bit integers, but I can't use <<
,>>
or &
because it's a float.
How can I solve this problem?