I got stuck on parsing array in my php object

```
stdClass Object
(
    [result] => stdClass Object
        (
            [details] => Array
                (
                    [0] => stdClass Object
                        (
                            [account] => 
                            [address] => add1
                            [category] => receive
                            [amount] => 1100
                            [label] => 
                            [vout] => 1
                        )

                    [1] => stdClass Object
                        (
                            [account] => 
                            [address] => add2
                            [category] => receive
                            [amount] => 11600
                            [label] => 
                            [vout] => 2
                        )

                    [2] => stdClass Object
                        (
                            [account] => 
                            [address] => add3
                            [category] => receive
                            [amount] => 1000
                            [label] => 
                            [vout] => 4
                        )

                )
        ) 
)

```

So how I can fetch all `details` indexes 0,1,2 etc