php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #72109 SplFileObject::__construct() not mentioned in class synopsis
Submitted: 2016-04-26 20:09 UTC Modified: 2018-06-16 16:43 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: therealclphillips at gmail dot com Assigned: cmb (profile)
Status: Closed Package: SPL related
PHP Version: Irrelevant OS: N/A
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: therealclphillips at gmail dot com
New email:
PHP Version: OS:

 

 [2016-04-26 20:09 UTC] therealclphillips at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/class.splfileobject
---

The class synopsis on the SplFileObject manual page neglects to mention the overridden constructor (http://php.net/manual/en/splfileobject.construct.php).

This is important because SplFileObject defines additional parameters over SplFileInfo. However, reading the synopsis makes it appear as if SplFileObject defines no constructor of its own, when in fact it does.

The SplFileInfo constructor listed as an inherited method should be removed, and a definition added for the SplFileObject constructor.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 13:55 UTC] cmb@php.net
-Package: Documentation problem +Package: SPL related
 [2018-06-16 16:43 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=345155
Log: Fix #72109: SplFileObject::__construct() not mentioned in class synopsis
 [2018-06-16 16:43 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-06-16 16:43 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.
 [2020-02-07 06:05 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=1f61f60d778940c602835c996ff33d5fdb7a0253
Log: Fix #72109: SplFileObject::__construct() not mentioned in class synopsis
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 16:01:27 2024 UTC