Ali big fish simplexmlelement object value PHP

WBOY
Release: 2016-07-29 08:59:07
Original
966 people have browsed it

SimpleXMLElement Object
(
[code] => 15
[msg] => Remote service error
[sub_code] => isv.MOBILE_NUMBER_ILLEGAL
[sub_msg] => Number format error
[request_id] =& gt; zqbnzcj7btxy
)

$result=$obj->sub_msg;

Result: The number format is wrong


SimpleXMLElement Object
(
 [result] => SimpleXMLElement Object
 (
                                                                                                                                                                                                                                            [err_code] => 0
[model] => 100863158072^1101308124312
                                                                                                                                            obj->result->success;

result: true

The above introduces Alibaba's simplexmlelement object value PHP, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

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