diff --git a/source/includes/3.6-drivers.rst b/source/includes/3.6-drivers.rst index 701c42fa0b2..345e76ad7c4 100644 --- a/source/includes/3.6-drivers.rst +++ b/source/includes/3.6-drivers.rst @@ -1,4 +1,4 @@ -- Java 3.6, +- Java 3.6 - Python 3.6 - C 1.9 - Node 3.0 diff --git a/source/includes/driver-example-indexes-1.rst b/source/includes/driver-example-indexes-1.rst index afcf3734119..0c56e350f87 100644 --- a/source/includes/driver-example-indexes-1.rst +++ b/source/includes/driver-example-indexes-1.rst @@ -218,13 +218,13 @@ - id: php content: | To create an index using the - `PHP driver `_, use - `MongoCollection::createIndex() `_. + `PHP driver `_, use + :phpmethod:`MongoDB\\Collection::createIndex() `. .. class:: copyable-code .. code-block:: php - $collection->createIndex(array(), array()); + $collection->createIndex(, ); The following example creates a single key descending index on the ``name`` field: @@ -232,9 +232,9 @@ .. class:: copyable-code .. code-block:: php - $collection->createIndex(array('name' => -1)); + $collection->createIndex(['name' => -1]); - The `MongoCollection::createIndex() `_ + The :phpmethod:`MongoDB\\Collection::createIndex() ` method only creates an index if an index of the same specification does not already exist. diff --git a/source/includes/driver-table.rst b/source/includes/driver-table.rst index 151815cf4f4..b0f4033d3ab 100644 --- a/source/includes/driver-table.rst +++ b/source/includes/driver-table.rst @@ -38,9 +38,12 @@ - `Current Perl Driver API `_ * - :ecosystem:`PHP ` - - `PHP Driver Releases `_ - - `PHP Driver Source Code `_ - - `Current PHP Driver API `_ + - `PHP Driver Releases `_, + `PHP Library Releases `_ + - `PHP Driver Source Code `_, + `PHP Library Source Code `_ + - `Current PHP Driver API `_, + `Current PHP Library API `_ * - :ecosystem:`Python ` - `Python Driver Releases `_ diff --git a/source/includes/list-table-3.0-driver-compatibility.rst b/source/includes/list-table-3.0-driver-compatibility.rst index 49188aeb268..ca9d8b5f660 100644 --- a/source/includes/list-table-3.0-driver-compatibility.rst +++ b/source/includes/list-table-3.0-driver-compatibility.rst @@ -23,7 +23,8 @@ - `1.0.0 `__ * - :ecosystem:`PHP ` - - `1.6 `_ + - `ext-mongo 1.6 `_, + `ext-mongodb 1.0 `_ * - :ecosystem:`Python ` - `2.8 `_ diff --git a/source/reference/database-references.txt b/source/reference/database-references.txt index 8253b754a0c..34d27b74163 100644 --- a/source/reference/database-references.txt +++ b/source/reference/database-references.txt @@ -229,9 +229,8 @@ Driver Support for DBRefs * - **PHP** - - The PHP driver supports DBRefs, including the optional ``$db`` - reference, using `the MongoDBRef - `_ class. + - The PHP driver contains no support for DBRefs. You can traverse + references manually. * - **Python** diff --git a/source/release-notes/3.0.txt b/source/release-notes/3.0.txt index 04f024ca085..051b7aebb11 100644 --- a/source/release-notes/3.0.txt +++ b/source/release-notes/3.0.txt @@ -454,7 +454,7 @@ replica sets: - Ruby Driver 2.0 - Node.JS Driver 2.0 -The C, C++, Perl, and PHP drivers, as well as the earlier versions of +The C, C++, Perl, and legacy PHP drivers, as well as the earlier versions of the Ruby, Python, and Node.JS drivers, discover and monitor replica set members serially, and thus are not suitable for use with large replica sets. diff --git a/source/release-notes/drivers-write-concern.txt b/source/release-notes/drivers-write-concern.txt index 4c87b29c1db..d3fc758927d 100644 --- a/source/release-notes/drivers-write-concern.txt +++ b/source/release-notes/drivers-write-concern.txt @@ -71,6 +71,6 @@ driver-specific changes. - Java, version 2.10.0 - Node.js, version 1.2 - Perl, version 0.501.1 -- PHP, version 1.4 +- Legacy PHP, version 1.4 - Python, version 2.4 - Ruby, version 1.8 diff --git a/source/tutorial/configure-ssl-clients.txt b/source/tutorial/configure-ssl-clients.txt index 79108f26e0d..0c43742b3d1 100644 --- a/source/tutorial/configure-ssl-clients.txt +++ b/source/tutorial/configure-ssl-clients.txt @@ -141,7 +141,7 @@ The MongoDB Drivers support encrypted communication. See: - `Java Driver `_ - `Node.js Driver `_ - `Perl Driver `_ -- `PHP Driver `_ +- `PHP Driver `_ - `Python Driver `_ - `Ruby Driver `_ - `Scala Driver `_