php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70346 iterator_count affets state of iterator
Submitted: 2015-08-24 17:36 UTC Modified: 2015-08-24 18:15 UTC
From: bkfake-php at yahoo dot com Assigned: cmb (profile)
Status: Closed Package: SPL related
PHP Version: 5.5.28 OS: ubuntu
Private report: No CVE-ID: None
 [2015-08-24 17:36 UTC] bkfake-php at yahoo dot com
Description:
------------
http://php.net/manual/en/function.iterator-count.php

The Donovan Jiminez comment needs to be formally documentsd or the behavior of iterator_count needs to be "fixed" so that it's "non-destructive"


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-24 18:15 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=337605
Log: iterator_count() may wind iterator beyond its end (fixes #70346)
 [2015-08-24 18:15 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2015-08-24 18:15 UTC] cmb@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-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 08:01:32 2024 UTC