Search Results
The RegexIterator class In case the difference between modes RegexIterator::MATCH and RegexIterator::GET_MATCH is not immediately clear: MATCH will only return one value per matched element, as a string. GET_MATCH will return as many values, per matched element, as there are sub-patterns. If there are sub-patterns, each iteration returns an indexed array with the full pattern match at 0 and ...
(PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::getPregFlags — Returns the regular expression flags
Simple usage example of `RegexIterator::getPregFlags ()`. The `getPregFlags` function is a method provided by the `RegexIterator` class in PHP. It is used to retrieve the regular expression flags that were set for the `RegexIterator` object.
RegexIterator::getMode — Returns operation mode. RegexIterator::getPregFlags — Returns the regular expression flags.
PHP Manual Returns the regular expression flags, see RegexIterator::__construct () for the list of flags.
RegexIterator::getPregFlags (PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::getPregFlags — Returns the regular expression flags
(PHP 5 >= 5.2.0, PHP 7, PHP 8) RegexIterator::getPregFlags — Returns the regular expression flags
