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] [email protected]
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