[ https://issues.apache.org/jira/browse/THRIFT-3348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15825806#comment-15825806 ]
Barry Brannan commented on THRIFT-3348: --------------------------------------- this should also resolve THRIFT-1548 > 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 > Assignee: HÃ¥kon Hitland > Fix For: 0.10.0 > > 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)