Doc #70673 [Opn->Nab]: Wrong Parameter Info for SplFileInfo::__construct()
| From: | salathe@php.net | Date: | Fri, 09 Oct 2015 18:46:11 +0000 |
| Subject: | Doc #70673 [Opn->Nab]: Wrong Parameter Info for SplFileInfo::__construct() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12816@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
Updated by: salathe@php.net
Reported by: lukasl dot com at gmail dot com
Summary: Wrong Parameter Info for SplFileInfo::__construct()
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.5.30
Block user comment: N
Private report: N
New Comment:
You are confusing SplFileInfo with SplFileObject.
Previous Comments:
------------------------------------------------------------------------
[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