I am having array like bellow.I don’t understand how it is created.
xyz Object ( [foo] => 10 [foo1:protected] => Array ( [b] => 5 [b1] => 6 ) )
my questions
-
What is xyz
-
How can i get the value of b1
-
How this array is created
-
How :protected is used in array
-
What is the difference between this one and normal or stdobject array
Thanks in advance
This is an instance of class
xyzwhich contains fields :fooandfoo1.