php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64583 MultipleIterator::__construct documentation
Submitted: 2013-04-04 16:59 UTC Modified: 2013-04-27 10:58 UTC
From: mendrel at gmail dot com Assigned: salathe (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Any
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: mendrel at gmail dot com
New email:
PHP Version: OS:

 

 [2013-04-04 16:59 UTC] mendrel at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/multipleiterator.construct#refsect1-multipleiterator.construct-seealso
---

/html/body/div[3]/div[2]/div[2]/div[5]/div[2]/div[8]
<em>$flags = MIT_NEED_ANY|MIT_KEYS_NUMERIC</em>

is incorrect as the NUMERIC flag and the example content are not aligned.


Expected result:
----------------
/html/body/div[3]/div[2]/div[2]/div[5]/div[2]/div[8]
Should read:
<em>$flags = MIT_NEED_ANY|MIT_KEYS_ASSOC</em>

as the content of the example block reflects using the MIT_KEYS_ASSOC flag.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-26 18:30 UTC] sixd@php.net
-Summary: Mis +Summary: MultipleIterator::__construct documentation
 [2013-04-27 10:51 UTC] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=330156
Log: fix example flags (doc #64583)
 [2013-04-27 10:58 UTC] salathe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: salathe
 [2013-04-27 10:58 UTC] salathe@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 07:00:02 2026 UTC