<?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' ] );
var_dump( $c->find( [ '_id' => 'ele1' ] )->explain() );
?>