Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否有人对节俭有任何经验,并且可以提供一个使用 PHP 数组(或对象)并将其转换为 C++ 数组(或对象)的示例。要么,要么指向我关于如何在 PHP 中执行此操作的文档(在他们的网站上不完整!)
谢谢!马特·穆勒
Thrift 计算器教程中有更多文档。特别是 Thrift 的“列表”类型在 PHP 和 C++ 中很可能被表示为一个数组。您可以亲自了解每种语言绑定如何在每种语言的“协议”实现中序列化这些数据结构。
问候,杰夫