Home > Backend Development > PHP Tutorial > 关于PHP SOAP获得数据为object(stdClass)[79]

关于PHP SOAP获得数据为object(stdClass)[79]

WBOY
Release: 2016-06-06 20:19:49
Original
1397 people have browsed it

头一次开发PHP SOAP客户端,服务器端的内容别人都已经做好的,我只负责读取就可以了。
可最后获得的结果是 object(stdClass)[79],
请问怎么取得里面的内容?

回复内容:

头一次开发PHP SOAP客户端,服务器端的内容别人都已经做好的,我只负责读取就可以了。
可最后获得的结果是 object(stdClass)[79],
请问怎么取得里面的内容?

$var->attr;

或 先转换成数组再使用

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template