Php function creates new array (data) from input or references to it? : <p>I have a general php question. I have an array of size lets say size of 3. And I pass it as an input to a function in an included file. So, does it copy the array (more memory) or actually make the function to references it ?</p>

<pre><code>$arr = array('a', 'b', 'c');
include(functions.php);    //doSomething() resides here
$result = doSomething($arr);
</code></pre>
