CONTEXT
I'm trying to refer to value below:
Array (
    [0] => stdClass Object (
        [label] => John Smith
        [attributes] => Array (
            [class] => sf-level-0 sf-item-14
        )
        [value] => smith-john
        [depth] => 0
        [count] => 3
    )
    [1] =>... etc.
QUESTION
Assuming the array is called $array, what would be the right format for this? I've tried array[0]->['value'], but it does not work.
 
    