Use array helpers instead of hash iteration in Query option parsing
Use array helpers instead of hash iteration in Query option parsing

Fetching a nonexistent key returns zero, which is a safe assignment for the numeric query options. For other options, we raise an error if the expected type is invalid (this should likely be changed to an exception).

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