xmlrpcresp对象读取打印php中的值

时间:2014-07-31 14:50:17

标签: php

任何人都可以指导我从xmlrpcresp对象中读取值

xmlrpcresp Object ( [val] => Array ( [0] => Array ( [Id] => 11) [1] => Array ( [Id] => 55 ) [2] => Array ( [Id] => 88 ) ) [valtyp] => phpvals [errno] => 0 [errstr] => [payload] => [hdrs] => Array ( [server] => Apache-Coyote/1.1 [pragma] => no-cache [cache-control] => no-cache, no-store [expires] => Fri, 01 Aug 2014 02:36:52 GMT [content-type] => text/xml;charset=UTF-8 [content-length] => 422 [date] => Thu, 31 Jul 2014 14:36:52 GMT [set-cookie] => app-lb=3858956298.20480.0000; path=/ ) [_cookies] => Array ( [app-lb] => Array ( [value] => 3858956298.20480.0000 [path] => / ) ) [content_type] => text/xml ) 

我正在尝试获取数组值val

( [val] => Array ( [0] => Array ( [Id] => 11) [1] => Array ( [Id] => 55 ) [2] => Array ( [Id] => 88 ) )

如何获得此val并希望打印最后一个值我是php的新手。

提前致谢

Jagdish

0 个答案:

没有答案