Reference original array and double numbers PHP
<p>I am getting deeper into PHP and I am attempting to double the original values of a given array in PHP.  Here is the code if it were to return a different array:</p>

<pre><code>$blandArray = array(1, 2, 3, 4);

function doubleNumbers($arr) {

    $doubledArray = array();

    for ($i=0; $i &lt; count($arr); $i++) { 

        $doubledArray[$i] = $arr[$i] * 2;

    }

    return $doubledArray;

}

print_r(doubleNumbers($blandArray));
</code></pre>

<p>This returns the numbers doubled as expected, but in a new array.  What I want is to double the original array.  So, if <code>blandArray</code> was passed and echoed after running through the function, it would have the values doubled.  I understand that I have to use the <code>&amp;</code> to reference that in the argument passed, but I am having no luck.  Any thoughts?</p>
