|
update : 2015.11.03
php.shukuma.com검색:
|
RegexIterator::setPregFlags(PHP 5 >= 5.2.0) RegexIterator::setPregFlags — Sets the regular expression flags. 설명
public void RegexIterator::setPregFlags
( int
$preg_flags
)Sets the regular expression flags. 인수
반환값값을 반환하지 않습니다. 예제
Example #1 RegexIterator::setPregFlags() example Creates a new RegexIterator that filters all entries with where the array key starts with 'test'.
<?php위 예제의 출력 예시:
array(1) {
[0]=>
array(2) {
[0]=>
string(4) "test"
[1]=>
int(0)
}
}
array(1) {
[0]=>
array(2) {
[0]=>
string(4) "test"
[1]=>
int(0)
}
}
|