I am receiving a stdClass array from a soap server. But I don't understand how to read it.
I try it like a simple array but got this error
Cannot use object of type stdClass as array
This is the array:
object(stdClass)#2 (1) {
["RegistrarResult"]=>
object(stdClass)#3 (23) {`enter code here`
["Anio"]=>
NULL
["BancaId"]=>
string(3) "WWW"
["Cedula"]=>
string(11) "SSSS"
["CodigoConsorcio"]=>
string(5) "EEEE"
["Color"]=>
NULL
["Error"]=>
NULL
}
}