Hi,
I am having the below request object and I am calling a method using
thrift from php.
struct MyRequest {
1: set<string> name,
2: i32 startDate,
3: i32 endDate,
}
When I execute my php, I get the following error. This warning is
thrown from thrift generated code. The reason for the warning is
$elem21(object) cannot be used as a key.
Warning: Illegal offset type in Server.php on line 226
223 $elem21 = null;
224 $elem21 = new MyResponse();
225 $xfer += $elem21->read($input);
226 $this->success[$elem21] = true;
Any idea, how to resolve this issue.
Thank you.
Regards
Bala Mudiam