(PECL mongo >=1.5.0)
Returns the current element
public array MongoCommandCursor::current ( void )
This returns NULL until MongoCommandCursor::rewind() is called.
Returns:
The current result document as an associative array. NULL will be returned if there is no result.
See also:
Please login to continue.