Doc #51684 [Opn->Ana]: Manual pages requirement mistype
| From: | salathe@php.net | Date: | Wed, 28 Apr 2010 19:36:24 +0000 |
| Subject: | Doc #51684 [Opn->Ana]: Manual pages requirement mistype | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4274@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51684&edit=1
ID: 51684
Updated by: salathe@php.net
Reported by: jmagalhaes dot pt at gmail dot com
Summary: Manual pages requirement mistype
-Status: Open
+Status: Analyzed
Type: Documentation Problem
Package: Website problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: salathe
New Comment:
The particular version that you cited is correct; let me explain. The
method was introduced with PHP 5.0.0 and the parent SplFileInfo class
was introduced in PHP 5.1.2. As of SplFileInfo being around, the
DirectoryIterator::isFile method no longer exists as its own entity and
is simply inherited from SplFileInfo::isFile.
As for the best way to document this without causing further confusion,
I'm working on it and open to suggestions.
Previous Comments:
------------------------------------------------------------------------
[2010-04-28 19:21:15] jmagalhaes dot pt at gmail dot com
I was about to reply to your comment, but I'm glad you understand it
now. :)
I know this isn't any bug, just a mistype, no worries.
------------------------------------------------------------------------
[2010-04-28 19:18:33] philip@php.net
Fail, I'll evaluate this :)
------------------------------------------------------------------------
[2010-04-28 19:08:24] philip@php.net
Methods get added at random times. In this case, isfile() was added in
PHP 5.1.1.
PHP <= 5.1.1 === PHP versions greater than or equal to 5.1.1
See Also: http://php.net/manual/en/about.prototypes.php
------------------------------------------------------------------------
[2010-04-28 18:45:12] jmagalhaes dot pt at gmail dot com
I was referring to the requirement of the PHP version for the class
function is shown as <= 5.1.1.
I understood it as if the newer versions (> 5.1.1) wouldn't support that
class function.
Either I read it wrong or should say only PHP 5 or > 5.1.1.
------------------------------------------------------------------------
[2010-04-28 18:35:06] philip@php.net
That simply says it cannot be disabled as of 5.3.0, whereas above that
statement
is the following:
"This extension is available and compiled by default in PHP 5.0.0."
So I'm unsure what you mean here, what's the bug?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=51684
--
Edit this bug report at http://bugs.php.net/bug.php?id=51684&edit=1