Dahao.Saerdna.Zhao created THRIFT-3348: ------------------------------------------
Summary: PHP TCompactProtocol bool&int64 readvalue bug Key: THRIFT-3348 URL: https://issues.apache.org/jira/browse/THRIFT-3348 Project: Thrift Issue Type: Bug Components: PHP - Library Affects Versions: 0.9.2 Environment: osx 10.10.5, php 5.5.27, python 2.7.10 thrift 0.9.2 , install by brew. Reporter: Dahao.Saerdna.Zhao create a thrift file like namespace php demo namesapce py demo struct obj{ 1:required i64 int64, 2:required bool bol, } service Demo { obj trans(1:obj item), } protocol use TCompactProtocol server is python, client is php client call trans func with i64(-1) bool(true) and print the server response the output is object(demo\obj)#8 (2) { ["int64"]=> float(1.844674407371E+19) ["bol"]=> bool(false) } -- This message was sent by Atlassian JIRA (v6.3.4#6332)