what is the storage in the next object?
I have never come across this type of var_dump or print_r.
Is this a property of a CFArray? if so, what is an ArrayObject?
I looked at it very carefully, and I assume that the repository is a property of a CFArray with a type of another ArrayObject class. Please correct me ... :)
print_r($response->body->zoneName());
CFArray Object (
[storage:ArrayObject:private] => Array (
[0] => CFSimpleXML Object ( [0] => us-east-1a )
[1] => CFSimpleXML Object ( [0] => us-east-1b )
[2] => CFSimpleXML Object ( [0] => us-east-1c )
[3] => CFSimpleXML Object ( [0] => us-east-1d )
) )
var_dump($response->body->zoneName());
object(CFArray)
["storage":"ArrayObject":private]=> array(4) {
[0]=> object(CFSimpleXML)
[1]=> object(CFSimpleXML)
[2]=> object(CFSimpleXML)
[3]=> object(CFSimpleXML)
} }
source
share