|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
40 + 34 = ?
Subscribe to this entry?

 [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-2022 The PHP Group
All rights reserved.
Last updated: Fri Dec 02 15:05:52 2022 UTC