Accessing nested object

I have an object within object and I have not clue why i am not able to access the object. I have tried every possible way… Please help me to guide where and what i am doing wrong and how to do it…

CODE

foreach( $profile->fields as $items )
{
var_dump($items);
break;
}

As i just need just first object out of 3 objects in $profile->fields i have kept a break.
so now $items is a object which again have 2 objects and those object has values i want to access… So please help me…

OUTPUT

object(stdClass)#300 (2) { [“0”]=> object(stdClass)#302 (17) { [“id”]=> string(2) “19” [“type”]=> string(4) “text” [“ordering”]=> string(1) “4” [“published”]=> string(1) “1” [“min”]=> string(2) “10” [“max”]=> string(3) “100” [“name”]=> string(19) “Club / Organisation” [“tips”]=> string(33) “Name of your club or organisation” [“visible”]=> string(1) “1” [“required”]=> string(1) “1” [“searchable”]=> string(1) “0” [“registration”]=> string(1) “1” [“options”]=> string(0) “” [“fieldcode”]=> string(10) “FIELD_CLUB” [“params”]=> string(1) " " [“value”]=> string(13) “testclub Club” [“access”]=> string(1) “0” } [“1”]=> object(stdClass)#303 (17) { [“id”]=> string(2) “18” [“type”]=> string(4) “text” [“ordering”]=> string(1) “5” [“published”]=> string(1) “1” [“min”]=> string(1) “2” [“max”]=> string(3) “100” [“name”]=> string(9) “Full Name” [“tips”]=> string(31) “Please enter your full name !!!” [“visible”]=> string(1) “1” [“required”]=> string(1) “0” [“searchable”]=> string(1) “0” [“registration”]=> string(1) “1” [“options”]=> string(0) “” [“fieldcode”]=> string(14) “FIELD_FULLNAME” [“params”]=> string(71) "disabled=0 readonly=0 type=text min_char= max_char= maxlength= style= " [“value”]=> string(9) “Test Club” [“access”]=> string(1) “0” } }