Commit 64c40145 authored by Hannes Magnusson's avatar Hannes Magnusson

Merge pull request #18 from serebro/patch-1

Syntax error typo
parents 62f84132 18dcc7d5
...@@ -13,7 +13,7 @@ examples uses the low-level `mongodb` PHP driver: ...@@ -13,7 +13,7 @@ examples uses the low-level `mongodb` PHP driver:
$file = "http://media.mongodb.org/zips.json"; $file = "http://media.mongodb.org/zips.json";
$zips = file($file, FILE_IGNORE_NEW_LINES); $zips = file($file, FILE_IGNORE_NEW_LINES);
$bulk = new MongoDB\Driver\BulkWrite()); $bulk = new MongoDB\Driver\BulkWrite();
foreach ($zips as $string) { foreach ($zips as $string) {
$document = json_decode($string); $document = json_decode($string);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment