php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70355 Incorrect type information in constructor documentation
Submitted: 2015-08-25 11:35 UTC Modified: 2015-08-25 11:54 UTC
From: cpk at smithies dot org Assigned: cmb (profile)
Status: Closed Package: SPL related
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2015-08-25 11:35 UTC] cpk at smithies dot org
Description:
------------
---
From manual page: http://www.php.net/cachingiterator.construct
---
The type of the flags argument should be bitmask, not string.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-25 11:51 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2015-08-25 11:51 UTC] cmb@php.net
Even though `bitmask` conveys some useful semantics, the type
should be `int`.
 [2015-08-25 11:53 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=337622
Log: fixed type info of flags (fixes #70355)
 [2015-08-25 11:54 UTC] cmb@php.net
-Status: Verified +Status: Closed -Package: Documentation problem +Package: SPL related
 [2015-08-25 11:54 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 Apr 16 04:01:27 2024 UTC