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. Список параметровУ этой функции нет параметров. Возвращаемые значенияTRUE if a match, FALSE otherwise. Примеры
 Пример #1 RegexIterator::accept() example This example shows that only items matching the regular expression are accepted. 
<?phpРезультат выполнения данного примера: Bob Charlie David  | 
||