Doc #70673 [Nab]: Wrong Parameter Info for SplFileInfo::__construct()
| From: | lukasl dot com at gmail dot com | Date: | Mon, 12 Oct 2015 09:41:50 +0000 |
| Subject: | Doc #70673 [Nab]: Wrong Parameter Info for SplFileInfo::__construct() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12818@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70673&edit=1
ID: 70673
User updated by: lukasl dot com at gmail dot com
Reported by: lukasl dot com at gmail dot com
Summary: Wrong Parameter Info for SplFileInfo::__construct()
Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.5.30
Block user comment: N
Private report: N
New Comment:
Yes, you're right. Sorry about that.
I clicked on the __construct() link in the /* Inherited methods */ section (didn't notice the
real __construct() link under "Table of Contents"
This is the correct page for it and I see it's documented correctly.
http://php.net/manual/en/splfileobject.construct.php
Thanks for checking into this. My bad.
Previous Comments:
------------------------------------------------------------------------
[2015-10-09 18:46:11] salathe@php.net
You are confusing SplFileInfo with SplFileObject.
------------------------------------------------------------------------
[2015-10-08 18:21:31] lukasl dot com at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/splfileinfo.construct
---
Documentation says:
public SplFileInfo::__construct ( string $file_name )
Expected result:
----------------
Documentation should say:
public SplFileInfo::__construct ($filename, $open_mode = "r", $use_include_path = false,
$context = null)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70673&edit=1