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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
36 - 29 = ?
Subscribe to this entry?

 
 [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: Fri Apr 19 20:01:29 2024 UTC