|  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
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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
17 + 35 = ?
Subscribe to this entry?

 [2011-07-03 19:23 UTC] helmertz at gmail dot com
All return values of filetype() should be accessible from DirectoryIterator: 
"fifo, char, dir, block, link, file, socket and unknown" 
( Currently, I only see 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-03 19:26 UTC]
-Type: Feature/Change Request +Type: Documentation Problem
 [2011-07-04 08:45 UTC]
-Type: Documentation Problem +Type: Feature/Change Request -Package: Unknown/Other Function +Package: SPL related
 [2011-07-04 08:45 UTC]
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 22 15:01:29 2024 UTC