Ashenp created THRIFT-4407:
------------------------------

             Summary: Something wrong with the data structure [set] with the 
php lib
                 Key: THRIFT-4407
                 URL: https://issues.apache.org/jira/browse/THRIFT-4407
             Project: Thrift
          Issue Type: Bug
          Components: PHP - Library
    Affects Versions: 0.10.0
         Environment: CentOS 6.5
            Reporter: Ashenp


The function in thrift file:

set<string> set_test(1:set<string> test_set)

My test is like this:
$s = new Bd_Wrpc_Client("arch.soa_test");
        $res9 = $s->set_test(
            array("ww","qq")
            );

and My server supposed to return whatever I passed.
But I got the wring answer:

array(2) { [0]=> bool(true) [1]=> bool(true) }

Is there a bug in Thrift php lib? 




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to