php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #55123 Missing methods of SplFileInfo (not just DirectoryIterator)
Submitted: 2011-07-03 19:23 UTC Modified: 2011-07-04 11:19 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: helmertz at gmail dot com Assigned:
Status: Open Package: SPL related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: helmertz at gmail dot com
New email:
PHP Version: OS:

 

 [2011-07-03 19:23 UTC] 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].


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-03 19:26 UTC] felipe@php.net
-Type: Feature/Change Request +Type: Documentation Problem
 [2011-07-04 08:45 UTC] aharvey@php.net
-Type: Documentation Problem +Type: Feature/Change Request -Package: Unknown/Other Function +Package: SPL related
 [2011-07-04 08:45 UTC] 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-04 11:19 UTC] helmertz at gmail dot com
-Summary: Missing methods of DirectoryIterator +Summary: Missing methods of SplFileInfo (not just DirectoryIterator)
 [2011-07-04 11:19 UTC] helmertz at gmail dot com
@aharvey: I agree and thanks for finding the correct package. It could be moved 
"upwards" though, to the SplFileInfo-parent class instead of DirectoryIterator.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 08:01:24 2019 UTC