Req #55123 [Opn]: Missing methods of SplFileInfo (not just DirectoryIterator)
| From: | helmertz at gmail dot com | Date: | Mon, 04 Jul 2011 15:19:52 +0000 |
| Subject: | Req #55123 [Opn]: Missing methods of SplFileInfo (not just DirectoryIterator) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161575@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55123&edit=1
ID: 55123
User updated by: helmertz at gmail dot com
Reported by: helmertz at gmail dot com
-Summary: Missing methods of DirectoryIterator
+Summary: Missing methods of SplFileInfo (not just
DirectoryIterator)
Status: Open
Type: Feature/Change Request
Package: SPL related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
@aharvey: I agree and thanks for finding the correct package. It could be moved
"upwards" though, to the SplFileInfo-parent class instead of DirectoryIterator.
Previous Comments:
------------------------------------------------------------------------
[2011-07-04 08:45:25] aharvey@php.net
This doesn't look like a doc bug to me; the methods themselves would need to be
added to SPL.
------------------------------------------------------------------------
[2011-07-03 19:23:55] helmertz at gmail dot com
Description:
------------
All return values of filetype() should be accessible from DirectoryIterator:
"fifo, char, dir, block, link, file, socket and unknown"
(http://php.net/manual/en/function.filetype.php). Currently, I only see
DirectoryIterator::[isFile|isDir|isLink].
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55123&edit=1