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 | Beschreibung |
---|---|
5.3.1 | Added FilesystemIterator::FOLLOW_SYMLINKS |