5

what is storage in the following Object?

I never came across such type of var_dump or print_r.

Is it property of CFArray Object? if yes what is ArrayObject?

I looked it very carefully and i am assuming, storage is a property of CFArray Object with type of another class ArrayObject. 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)#12 (1) { ["storage":"ArrayObject":private]=> array(4) { [0]=> object(CFSimpleXML)#9 (1) { [0]=> string(10) "us-east-1a" } [1]=> object(CFSimpleXML)#3 (1) { [0]=> string(10) "us-east-1b" } [2]=> object(CFSimpleXML)#4 (1) { [0]=> string(10) "us-east-1c" } [3]=> object(CFSimpleXML)#10 (1) { [0]=> string(10) "us-east-1d" } } } 
1
  • 1
    The names "CFArray" and "CFSimpleXML" made me do a double-take and wonder whether this wasn't actually ObjC... :) Commented Mar 9, 2012 at 16:49

1 Answer 1

2

Yes, it is a private property. And here is ArrayObject.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.