[ https://issues.apache.org/jira/browse/THRIFT-3348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-3348: ------------------------------- Description: create a thrift file like {code} namespace php demo namesapce py demo struct obj{ 1:required i64 int64, 2:required bool bol, } service Demo { obj trans(1:obj item), } {code} 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 {code} object(demo\obj)#8 (2) { ["int64"]=> float(1.844674407371E+19) ["bol"]=> bool(false) } {code} was: 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) } > 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. 64 bit machines > Reporter: Dahao.Saerdna.Zhao > Original Estimate: 4h > Remaining Estimate: 4h > > create a thrift file like > {code} > namespace php demo > namesapce py demo > struct obj{ > 1:required i64 int64, > 2:required bool bol, > } > service Demo { > obj trans(1:obj item), > } > {code} > 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 > {code} > object(demo\obj)#8 (2) { > ["int64"]=> > float(1.844674407371E+19) > ["bol"]=> > bool(false) > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)