<?php
require 'vendor/autoload.php';
$m = new \MongoDB\Client;
$cursor = $m->demo->articles->find(
[ *'$text'* => [ '$search' => '"advent" "xdebug"' ] ],
[ 'subject' => 1, '_id' => 0 ]
);
foreach ( $cursor as $result ) {
echo $result['subject'], "\n";
}
?>
Contributing Advent 17: Printing stacks
Contributing Advent 22: Documenting changes
Contributing Advent 20: Xdebug halting on error
Contributing Advent 8: The magic __FILE__ constant
Contributing Advent 23: Reproducing issues
Whisky Advent: part 3
Whisky Advent: part 4
Contributing Advent 1: Xdebug and hidden properties
Contributing Advent 24: Wrapping up!
Contributing Advent
Contributing Advent 15: Xdebug connection timeout