RegexIterator::setPregFlags

(PHP 5 >= 5.2.0, PHP 7) Sets the regular expression flags. public void RegexIterator::setPregFlags ( int $preg_flags ) Sets the regular expression flags. Parameters: preg_flags The regular expression flags. See RegexIterator::__construct() for an overview of available flags. Returns: No value is returned.

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::__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::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::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::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' 

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.

RecursiveTreeIterator::nextElement

(PHP 5 >= 5.3.0, PHP 7) Next element public void RecursiveTreeIterator::nextElement ( void ) Called when the next element is available. Returns: No value is returned. This function is currently not documented; only its argument list is available.

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.

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