title: stdClass vs array. Which is recommended?
body: <p>Where is recommended to use one of them? I want to store data from articles listed from db.</p>
  
  <p>It's a simple question:</p>
  
  <pre><code>echo $Datastore-&gt;name; //I like it works with foreach
  
  //vs
  
  echo $Datastore['name'];
  </code></pre>
  
  <p>Which is the best? Is there any difference between <code>stdClass</code> and <code>array</code> speed of getting elements?</p>