title: Declare an array of objects in php
body: <p>How can I declare a list of objects in php as a private instance variable?</p>
  
  <p>In Java the declaration would look something like this
   <code>private ArrayList&lt;Object&gt; ls</code> 
  and the constructor would have this
  <code>ls = new ArrayList&lt;Object&gt;();</code></p>
  
  <p>Thanks</p>