[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-bugs
Subject:    [DOC-BUGS] Doc #51684 [Opn->Ana]: Manual pages requirement mistype
From:       salathe () php ! net
Date:       2010-04-28 19:36:24
Message-ID: 20100428193625.1219BFF5 () ez1 ! php ! net
[Download RAW message or body]

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

-- 
PHP Documentation Bugs Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic