Doc #72464 [Opn->Csd]: WriteResult::getInfo() does not exist
| From: | jmikola@php.net | Date: | Wed, 22 Jun 2016 12:02:41 +0000 |
| Subject: | Doc #72464 [Opn->Csd]: WriteResult::getInfo() does not exist | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13584@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72464&edit=1
ID: 72464
Updated by: jmikola@php.net
Reported by: fgm at osinet dot fr
Summary: WriteResult::getInfo() does not exist
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: mongodb
Operating System: Ubuntu 12.04 LTS
PHP Version: 7.0.7
-Assigned To:
+Assigned To: jmikola
Block user comment: N
Private report: N
New Comment:
This method was removed before the 1.0.0 release in https://github.com/mongodb/mongo-php-driver/commit/78ee8736e46a3ac6a56abc0bf94d8b939affa6c4.
I've updated the documentation to remove reference to it: http://svn.php.net/viewvc?view=revision&revision=339449
Previous Comments:
------------------------------------------------------------------------
[2016-06-21 19:10:46] fgm at osinet dot fr
Description:
------------
---
From manual page: http://www.php.net/mongodb-driver-writeresult.getinfo
---
This page documents a method which does not exist in version 1.1.7 (latest as of today ?) of the
extension.
Test script:
---------------
<?php
$re = new ReflectionClass('MongoDB\Driver\WriteResult');
try {
$rm = $re->getMethod('getInfo');
}
catch (ReflectionException $e) {
echo $e->getMessage();
}
Expected result:
----------------
260
Actual result:
--------------
Method getInfo does not exist
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72464&edit=1