|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70152 Wrong code example
Submitted: 2015-07-27 08:44 UTC Modified: 2020-03-19 10:55 UTC
From: mkroeders at gmail dot com Assigned: cmb (profile)
Status: Closed Package: mongo (PECL)
PHP Version: Irrelevant OS:
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: mkroeders at gmail dot com
New email:
PHP Version: OS:


 [2015-07-27 08:44 UTC] mkroeders at gmail dot com
The code example for #2 is wrong. 

It is the same code example as #3 (where it is the right one)

Expected result:
The right code example


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-07-27 09:02 UTC]
-Status: Open +Status: Feedback
 [2015-07-27 09:02 UTC]
The example for what?
 [2015-07-27 09:17 UTC] mkroeders at gmail dot com
-Status: Feedback +Status: Open
 [2015-07-27 09:17 UTC] mkroeders at gmail dot com
The code example on

Sorry thought this was linked to the page
 [2015-07-27 13:04 UTC]
-Package: Documentation problem +Package: mongo
 [2020-03-19 10:55 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-03-19 10:55 UTC]
This has been fixed[1] in the meantime.

[1] <>
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Apr 10 22:01:24 2021 UTC