MongoCursor
PHP Manual

MongoCursor::getNext

(PECL mongo >=0.9.0)

MongoCursor::getNextAdvances the cursor to the next result, and returns that result

Description

public array MongoCursor::getNext ( void )

Note:

MongoCursor::getNext() is an alias of MongoCursor::next().


MongoCursor
PHP Manual