Done :)
my fork is at git://
github.com/jonathanmoss/mongo-php-driver.git
Take a look, and if you like it feel free to merge it back in. It
does break backward compatibility due to needing to implement next()
in a different way for the interface I'm afraid. I also removed
hasNext() as it is not needed any more if you use the cursor as an
iterator. I realise this is not ideal, so if you prefer I could add a
getIterator() function instead and implement the iterator in
MongoCursorIterator or similar?
I ran a few quick tests and all seemed ok.
Any suggestions are welcome.
Jon