I have a problem with a array returned by a WebService throw SoapClient. It returns an array that one of the keys is an string value "1". So PHP can not access to the following array inside.
For instance:
I receive this result doing
Code: Select all
$soap = new soapclient('wsdl',array('location'=>'https://www.domain.com/servlet/APIv3','trace'=>true,'exceptions'=>false));
$array = $soap->__soapCall('method', $data);["recsindb"]=> string(1) "1"
["1"]=> array(18) {
["thawtecertstat"]=> string(2) "NA"
["websiteid"]=> string(8) "16494076"
["domainstat"]=> string(6) "Active"
If i would to access to "domainstat" i will write
Code: Select all
$array["1"]["domainstat"];That´s only happen wirh arrays returned by SOAP.
Thank you.