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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 07:01:27 2024 UTC