php/php-src — pull request #5 by jaytaph (2012-03-19 20:50:20+00:00)
Title: Issue-60742: Added FilesystemIterator::OTHER_MODE_MASK

The FileSystemIterator defines a few constants to mask its flags: CURRENT_MODE_MASK and KEY_MODE_MASK. However, there are other flags (SKIP_DOTS and UNIX_PATHS) which cannot be masked of by a constant.

However, internally, there is a mask constant defined (SPL_FILE_DIR_OTHERS_MASK). It makes sense that this value is also known in PHP userland by the OTHER_MODE_MASK constant.