title: ArrayCollection in PHP
body: <p>How can i return my output in ArrayCollection?</p>
  
  <pre><code>values = array();
          while($row = mysql_fetch_array($result)) 
          {
              $values[] = array(mysql_num_rows($result),$row['userlevel'],$row['email'],$row['member_id']);
          }
          return $values;
  </code></pre>
  
  <p>I need the output as ArrayCollection</p>