RegexIterator::accept

RegexIterator::accept

(PHP 5 >= 5.2.0, PHP 7)

RegexIterator::acceptGet accept status

Description

public bool RegexIterator::accept ( void )

Matches (string) RegexIterator::current() (or RegexIterator::key() if the RegexIterator::USE_KEY flag is set) against the regular expression.