MongoDB\Driver\Cursor::getServer
MongoDB\Driver\Cursor::setTypeMap
MongoDB\Driver\Cursor
PHP Manual

# MongoDB\Driver\Cursor::isDead

(mongodb >=0.2.0)

MongoDB\Driver\Cursor::isDead — Checks if a cursor is still alive

### Description

final public bool MongoDB\Driver\Cursor::isDead ( void )

### Parameters

This function has no parameters.

### Return Values

### Errors/Exceptions

### Examples

Example #1 MongoDB\Driver\Cursor::isDead() example

`<?php
/* ... */
?>`

The above example will output something similar to:

    ...

### See Also

MongoDB\Driver\Cursor::getServer
MongoDB\Driver\Cursor::setTypeMap
MongoDB\Driver\Cursor
PHP Manual