下記のコーディングがあります。この配列からresponse_textとresponse_codeの値を取得したいと思います。誰でも特定のキー値を取得する方法を教えてくれます。
stdClass Object
(
[_OPS_version] => 0.9
[protocol] => XCP
[request_response_time] => 0.441
[response_text] => Command completed successfully
[is_search_completed] => 1
[action] => REPLY
[attributes] => stdClass Object
(
[suggestion] => stdClass Object
(
[count] => 0
[response_text] => Missing tld list, supported tlds are [.com,.net,.org,.info,.biz,.us,.mobi]
[response_code] => 500
[is_success] => 0
)
)
[response_code] => 200
[is_success] => 1
)
前もって感謝します