Doc #72464 [NEW]: WriteResult::getInfo() does not exit
| From: | fgm at osinet dot fr | Date: | Tue, 21 Jun 2016 19:10:50 +0000 |
| Subject: | Doc #72464 [NEW]: WriteResult::getInfo() does not exit | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-13574@lists.php.net to get a copy of this message | ||
From: fgm at osinet dot fr
Operating system: Ubuntu 12.04 LTS
PHP version: 7.0.7
Package: mongodb
Bug Type: Documentation Problem
Bug description:WriteResult::getInfo() does not exit
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 bug report at https://bugs.php.net/bug.php?id=72464&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72464&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72464&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72464&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72464&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72464&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72464&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72464&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72464&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72464&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72464&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72464&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72464&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72464&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72464&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72464&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72464&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72464&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72464&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72464&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72464&r=mysqlcfg