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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cpk at smithies dot org
New email:
PHP Version: OS:

 

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