php.net |  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:
Package:
Bug Type:
Summary:
From: mkroeders at gmail dot com
New email:
PHP Version: OS:

 

 [2015-07-27 08:44 UTC] mkroeders at gmail dot com
Description:
------------
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-07-27 09:02 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2015-07-27 09:02 UTC] requinix@php.net
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 http://php.net/manual/en/mongocollection.aggregate.php.

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

[1] <http://svn.php.net/viewvc?view=revision&revision=339160>
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Apr 10 22:01:24 2021 UTC