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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 08:01:29 2025 UTC