Get count of inner objects

MadLibs

New Member
How would you get the count of the objects inside of this object. We only want to count the two inner objects \[code\]Count This\[/code\] \[code\]And This\[/code\]. So our answer will be two.Here is the object\[quote\] stdClass Object (\[code\][Count This] => stdClass Object ( [arr] => Array ( [0] => data [1] => some data ) )[And This] => stdClass Object ( [anotherArr] => Array ( [0] => more data ) ) \[/code\] )\[/quote\]
 
Back
Top