title: php array assign by copying value or by reference?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2030906/are-arrays-in-php-passed-by-value-or-by-reference">are arrays in php passed by value or by reference?</a>  </p>
  </blockquote>
  
  
  
  <p>I heard that PHP can select how to assign arrays, depends on array size. 
  It can assign by copying value (as any scalar type) or by reference. </p>
  
  <p>PHP always assign array to variables by copying a value, as it says in manual. </p>
  
  <p>Or it can assign by reference. ? </p>
  
  <pre><code>&lt;?php $a = array(1,2,3); ?&gt;
  </code></pre>