|
RegexIterator::acceptGet accept status Beschreibung
public bool RegexIterator::accept
( void
)
Matches (string) RegexIterator::current (or RegexIterator::key if the RegexIterator::USE_KEY flag is set) against the regular expression. Parameter-ListeDiese Funktion hat keine Parameter. Rückgabewerte
Beispiele
Beispiel #1 RegexIterator::accept example This example shows that only items matching the regular expression are accepted.
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: Bob Charlie David |