update : 2015.11.03
php.shukuma.com검색:
|
RegexIterator::accept(PHP 5 >= 5.2.0) RegexIterator::accept — 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. 인수이 함수는 인수가 없습니다. 반환값
예제
Example #1 RegexIterator::accept() example This example shows that only items matching the regular expression are accepted.
<?php 위 예제의 출력: Bob Charlie David |