HHVM does not allow for current() on an object
HHVM does not allow for current() on an object

As it (correctly) gets serialized to an object, we need to cast to
an array so that we can call current.

Issue: https://github.com/facebook/hhvm/issues/6160

jmikola/mongo-php-driver-prototype,derickr/mongo-php-driver,10gen-labs/mongo-php-driver-prototype,jmikola/mongo-php-driver-prototype,derickr/mongo-php-driver,jmikola/mongo-php-driver,jmikola/mongo-php-driver,bjori/mongo-php-driver-prototype,jmikola/mongo-php-driver-prototype,10gen-labs/mongo-php-driver-prototype,xplodwild/mongo-php-driver-prototype,10gen-labs/mongo-php-driver-prototype,xplodwild/mongo-php-driver-prototype,derickr/mongo-php-driver,bjori/mongo-php-driver-prototype,bjori/mongo-php-driver-prototype,derickr/mongo-php-driver-prototype,mongodb/mongo-php-driver,10gen-labs/mongo-php-driver-prototype,mongodb-labs/mongo-php-driver-prototype,derickr/mongo-php-driver-prototype,jmikola/mongo-php-driver-prototype,jmikola/mongo-php-driver,bjori/mongo-php-driver-prototype,10gen-labs/mongo-php-driver-prototype,mongodb/mongo-php-driver,mongodb-labs/mongo-php-driver-prototype,mongodb/mongo-php-driver,derickr/mongo-php-driver,xplodwild/mongo-php-driver-prototype,mongodb-labs/mongo-php-driver-prototype,xplodwild/mongo-php-driver-prototype,derickr/mongo-php-driver-prototype,derickr/mongo-php-driver-prototype,derickr/mongo-php-driver,mongodb/mongo-php-driver,mongodb-labs/mongo-php-driver-prototype,mongodb/mongo-php-driver,mongodb-labs/mongo-php-driver-prototype,derickr/mongo-php-driver-prototype,jmikola/mongo-php-driver,bjori/mongo-php-driver-prototype,xplodwild/mongo-php-driver-prototype,jmikola/mongo-php-driver-prototype,derickr/mongo-php-driver,jmikola/mongo-php-driver