title: Are objects in array passed by reference?
body: <p>in a situation like that below, </p>
  
  <pre><code>class my_class {
  
      public __construct($params = array()){
  
          **** do something
      } 
  
   }
  
   $other_object = new some_class();
  
   $object = new my_class(array(
                           'var1' =&gt; 'test' 
                           'object' =&gt; $other_object));
  </code></pre>
  
  <p><strong>$other_object</strong> will be passed by reference or by value? </p>