|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #72464 WriteResult::getInfo() does not exist
Submitted: 2016-06-21 19:10 UTC Modified: 2016-06-22 12:02 UTC
From: fgm at osinet dot fr Assigned: jmikola (profile)
Status: Closed Package: mongodb (PECL)
PHP Version: 7.0.7 OS: Ubuntu 12.04 LTS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: fgm at osinet dot fr
New email:
PHP Version: OS:


 [2016-06-21 19:10 UTC] fgm at osinet dot fr
From manual page:

This page documents a method which does not exist in version 1.1.7 (latest as of today ?) of the extension.

Test script:
$re = new ReflectionClass('MongoDB\Driver\WriteResult');
try {
  $rm = $re->getMethod('getInfo');
catch (ReflectionException $e) {
  echo $e->getMessage();

Expected result:

Actual result:
Method getInfo does not exist


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-21 21:23 UTC]
-Summary: WriteResult::getInfo() does not exit +Summary: WriteResult::getInfo() does not exist
 [2016-06-22 12:02 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: jmikola
 [2016-06-22 12:02 UTC]
This method was removed before the 1.0.0 release in

I've updated the documentation to remove reference to it:
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 20:01:30 2024 UTC