Doc #72539 [Opn->Nab]: MongoDB stream context only applies to the legacy mongo extension

From: Date: Sun, 03 Jul 2016 17:11:11 +0000
Subject: Doc #72539 [Opn->Nab]: MongoDB stream context only applies to the legacy mongo extension
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13678@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72539&edit=1 ID: 72539 Updated by: cmb@php.net Reported by: fgm at osinet dot fr Summary: MongoDB stream context only applies to the legacy mongo extension -Status: Open +Status: Not a bug Type: Documentation Problem Package: mongodb Operating System: n.a. PHP Version: 7.0.8 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: > http://www.php.net/mongo.context This is part of the "MongoDB driver (legacy)" book[1]. Information about the "MongoDB driver" is available in another book[2]. If you're landing somewhere in the middle of book, refer to the breadcrumb navigation (immediately below the navigation bar) to see where you are. [1] <http://php.net/manual/en/book.mongo.php> [2] <http://php.net/manual/en/set.mongodb.php> Previous Comments: ------------------------------------------------------------------------ [2016-07-03 16:00:21] fgm at osinet dot fr Description: ------------ --- From manual page: http://www.php.net/mongo.context --- Nothing in the page mentions this is only available for the legacy mongo extension and not for the newer mongodb extension. Indeed, since the mongodb extension also uses a stream context, one would expect that this would be available, but it has been repeatedly rejected by MongoDB Inc.: * https://jira.mongodb.org/browse/PHPLIB-30 : won't fix * https://jira.mongodb.org/browse/PHPLIB-38 : won't fix * https://github.com/mongodb/mongo-c-driver/pull/80 : closed So that page should include a mention about this lack of support to avoid users losing time and believing this is a code bug. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72539&edit=1

« previous php.doc.bugs (#13678) next »