tags:

views:

129

answers:

1

Hey all,

I was wondering if anyone had any experience with thrift and could provide an example of taking a PHP array (or object) and translate it into a C++ array (or object). Either that or point me to documentation on how to do this in PHP (which is incomplete on their website!)

Thanks! Matt Mueller

+1  A: 

Hey Matt,

There's more documentation in the Thrift calculator tutorial. In particular, Thrift's "list" type is likely to be represented as an array in PHP and C++. You can see for yourself how each language binding serializes these data structures in the "protocol" implementations of each language.

Regards, Jeff

Jeff Hammerbacher