The Filesystem iterator
Makes FilesystemIterator::current() return the pathname.
Makes FilesystemIterator::current() return an SplFileInfo instance.
Makes FilesystemIterator::current() return $this (the FilesystemIterator).
Makes FilesystemIterator::key() return the pathname.
Makes FilesystemIterator::key() return the filename.
Makes RecursiveDirectoryIterator::hasChildren() follow symlinks.
Same as FilesystemIterator::KEY_AS_FILENAME | FilesystemIterator::CURRENT_AS_FILEINFO.
Skips dot files (. and ..).
Makes paths use Unix-style forward slash irrespective of system default.
Version | Description |
---|---|
5.3.1 | Added FilesystemIterator::FOLLOW_SYMLINKS |
5.2.11 | Added FilesystemIterator::FOLLOW_SYMLINKS |