RegexIterator::setFlags

(PHP 5 >= 5.2.0, PHP 7) Sets the flags. public void RegexIterator::setFlags ( int $flags ) Sets the flags. Parameters: flags The flags to set, a bitmask of class constants. The available flags are listed below. The actual meanings of these flags are described in the predefined constants. RegexIterator flags value constant 1 RegexIterator::USE_KEY Returns:

RegexIterator::getRegex

(PHP 5 >= 5.4.0, PHP 7) Returns current regular expression public string RegexIterator::getRegex ( void ) Returns: This function is currently not documented; only its argument list is available.

RegexIterator::getPregFlags

(PHP 5 >= 5.2.0, PHP 7) Returns the regular expression flags. public int RegexIterator::getPregFlags ( void ) Returns the regular expression flags, see RegexIterator::__construct() for the list of flags. Returns: Returns a bitmask of the regular expression flags. Examples: RegexIterator::getPregFlags() example <?php

RegexIterator::getMode

(PHP 5 >= 5.2.0, PHP 7) Returns operation mode. public int RegexIterator::getMode ( void ) Returns the operation mode, see RegexIterator::setMode() for the list of operation modes. Returns: Returns the operation mode. Examples: RegexIterator::getMode() example <?php $test = array ('str1' => 'test 1', 'teststr2' 

RegexIterator::getFlags

(PHP 5 >= 5.2.0, PHP 7) Get flags public int RegexIterator::getFlags ( void ) Returns the flags, see RegexIterator::setFlags() for a list of available flags. Returns: Returns the set flags. Examples: RegexIterator::getFlags() example <?php $test = array ('str1' => 'test 1', 'teststr2' => 'another test', 'str3

RegexIterator::__construct

(PHP 5 >= 5.2.0, PHP 7) Create a new RegexIterator public RegexIterator::__construct ( Iterator $iterator , string $regex [, int $mode = self::MATCH [, int $flags = 0 [, int $preg_flags = 0 ]]] ) Create a new RegexIterator which filters an Iterator using a regular expression. Parameters: iterator The iterator to apply this regex filter to. regex The

RegexIterator::accept

(PHP 5 >= 5.2.0, PHP 7) Get accept status public bool RegexIterator::accept ( void ) Matches (string) RegexIterator::current() (or RegexIterator::key() if the RegexIterator::USE_KEY flag is set) against the regular expression. Returns: TRUE if a match, FALSE otherwise. Examples: RegexIterator::accept() example This exam

RecursiveTreeIterator::valid

(PHP 5 >= 5.3.0, PHP 7) Check validity public bool RecursiveTreeIterator::valid ( void ) Check whether the current position is valid. Returns: TRUE if the current position is valid, otherwise FALSE This function is currently not documented; only its argument list is available.

RecursiveTreeIterator::setPrefixPart

(PHP 5 >= 5.3.0, PHP 7) Set a part of the prefix public void RecursiveTreeIterator::setPrefixPart ( int $part, string $value ) Sets a part of the prefix used in the graphic tree. Parameters: part One of the RecursiveTreeIterator::PREFIX_* constants. value The value to assign to the part of the prefix specified in part.

RecursiveTreeIterator::rewind

(PHP 5 >= 5.3.0, PHP 7) Rewind iterator public void RecursiveTreeIterator::rewind ( void ) Rewinds the iterator to the first element of the top level inner iterator. Returns: No value is returned. This function is currently not documented; only its argument list is available.