Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.3
-
None
-
None
-
32-bit linux (tested centos, ubuntu, debian)
Description
When TBinaryProtocolAccelerated writes an I64 to the network derived from a 32-bit PHP 'float' type, the value is incorrectly attributed a sign.
Writing round(microtime(true) * 1000, 3) for instance, will appear on the server as something like -379667704. This is implemented fine in TBinaryProtocol.php, it only looks to affect the php module compiled for a 32-bit system (htonll might not be cutting it).
Attachments
Issue Links
- duplicates
-
THRIFT-1067 Tons of bugs in php implementation
- Closed