访问php中的特定数组[重复]

This question already has an answer here:

i create an array and i would like to access to the value but i really don't know how :

Here is my array :

Array
(
    [0] => Array
        (
            [id] => 1
            [id_orga] => 36094152
            [nom] => Adresse externe
            [url] => https://cubber.zendesk.com/api/v2/organizations/36094152.json
            [created] => 2015-01-22 08:00:53
            [updated] => 2015-01-22 08:00:53
            [tickets] => Array
                (
                )

            [monthly] => Array
                (
                    [0] => ArrayObject Object
                        (
                            [storage:ArrayObject:private] => Array
                                (
                                    [assist] => 0
                                    [maint] => 0
                                    [total] => 0
                                )

                        )

and i would like for example to access to the value "0" in the key "assist" and change it to "1" for example and i don't know how to do it.

</div>

Suppose the source array is called $myArray. Try:

$myArray[0]['monthly'][0]->storage['assist'] = 1

If that doesn't work, try:

$myArray[0]['monthly'][0]['storage']['assist'] = 1

Let me know which works so I delete the other.