Q:

ArrayCollection in PHP

How can i return my output in ArrayCollection? 
values = array();
        while($row = mysql_fetch_array($result)) 
        {
            $values[] = array(mysql_num_rows($result),$row['userlevel'],$row['email'],$row['member_id']);
        }
        return $values;

I need the output as ArrayCollection

A:

ArrayCollection is part of Collections, a Doctrine project. 
There is no published documentation but the available methods can be seen in the ArrayCollection class itself. 

A:

PHP has no such thing as an ArrayCollection as far as I'm aware. 
From a quick Google search it seem like this is more about ActionScript/Flex.  This page has some examples of how to get an ArrayCollection from a PHP array.  Not sure if it's what you're looking for though.