|
RegexIterator::setPregFlagsSets the regular expression flags Description
public void RegexIterator::setPregFlags(int
$pregFlags )Sets the regular expression flags. Parameters
Return ValuesNo value is returned. Examples
Example #1 RegexIterator::setPregFlags example Creates a new RegexIterator that filters all entries with where the array key starts with 'test'.
The above example will output something similar to: array(1) { [0]=> array(2) { [0]=> string(4) "test" [1]=> int(0) } } array(1) { [0]=> array(2) { [0]=> string(4) "test" [1]=> int(0) } } See Also
|