go to bug id or search bugs for
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
Add a Patch
Add a Pull Request
This doesn't look like a doc bug to me; the methods themselves would need to be
added to SPL.
@aharvey: I agree and thanks for finding the correct package. It could be moved
"upwards" though, to the SplFileInfo-parent class instead of DirectoryIterator.