Will this foreach copy the values in memory?
<p>Example:</p>

<pre><code>foreach ($veryFatArray as $key =&gt; $value) {
</code></pre>

<p>Will the foreach assign the value behind the $key by reference to $value, or will $value be a copy of what's stored in the array? And if yes, how could I get an reference only? The array values store pretty big amounts of data so copying them is not really good.</p>
