How to get the actual variable and not a copy when using functions
<p>As the title sugests , i have a functions , i make a few changes to an array( this array is my paramether ). Then i realized that i used a copy of my actual array.</p>

<p>I know there was a way to get the actual array and not a copy , what was it ?
Thank you all in advance , i know you will solve this in a jiffy :)</p>

<p>Here is where i use it</p>

<pre><code>function findChildren($listOfParents)
    {
        static $depth=-1;
        $depth++;

        foreach ($listOfParents as $thisParent)
        {
            $thisParent-&gt;title = str_repeat(" &gt;", $depth) . $thisParent-&gt;title;
            $children = page::model()-&gt;findAll(array('condition'=&gt;'parent = ' . $thisParent-&gt;id));
            findChildren($children);
        }

        $depth--;
    }
</code></pre>

<p>So i need this $listOfParents, not his copy.</p>
