<?php ini_set('xdebug.var_display_max_depth', 1);
$m = new MongoClient;
$c = $m->demo->elephpants;
$c->drop();
$c->insert( [ '_id' => 'ele1', 'name' => 'Jumbo' ] );
$c->insert( [ '_id' => 'ele2', 'name' => 'Tantor' ] );
$c->insert( [ '_id' => 'ele3', 'name' => 'Stampy' ] );
var_dump( $c->find( [ 'name' => 'Jumbo' ] )->explain() );
?>