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.
版本 | 说明 |
---|---|
5.3.1 | Added FilesystemIterator::FOLLOW_SYMLINKS |