在线文档教程
PHP
SPL/Iterators

FilesystemIterator::getFlags

FilesystemIterator::getFlags

(PHP 5 >= 5.3.0, PHP 7)

FilesystemIterator::getFlags — Get the handling flags

Description

public int FilesystemIterator::getFlags ( void )

Gets the handling flags, as set in FilesystemIterator::__construct() or FilesystemIterator::setFlags().

Parameters

This function has no parameters.

Return Values

The integer value of the set flags.

See Also

  • FilesystemIterator::__construct() - Constructs a new filesystem iterator

  • FilesystemIterator::setFlags() - Sets handling flags

← FilesystemIterator::current

FilesystemIterator::key →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/filesystemiterator.getflags.php