PHP » GoLang |
login |
register |
about
|
GoLang RegexIterator::setPregFlags
request it (341)
GoLang replacement for PHP's RegexIterator::setPregFlags
[edit | history]
PHP RegexIterator::setPregFlagsPHP original manual for RegexIterator::setPregFlags [ show | php.net ]RegexIterator::setPregFlags(PHP 5 >= 5.2.0, PHP 7) RegexIterator::setPregFlags — Sets the regular expression flags Description
public void RegexIterator::setPregFlags
( int
$preg_flags
)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'.
<?php 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) } } |
more
Recently updated
more
Most requested
more
Last requests
|