Redefining a PHP variable by referencing the variable in a function?
<p>Gee Wiz finding the vocab to express the question can be pretty tricky, but hopefully you can tell me what's wrong with referencing a variable in a function in order to change it.</p>

<p>Example:</p>

<pre><code>    &lt;?php
$a = 5;
$something = 5;

function changeIt($it){
    global $a;
    $it = $it * $a;
};

changeIt($something);

echo $something;
    ?&gt;
</code></pre>

<p>This returns 5, so the global variable $something hasn't been redefined.</p>
