PHP 8.4.0 RC4 available for testing

The RecursiveRegexIterator class

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

Giriş

This recursive iterator can filter another recursive iterator via a regular expression.

Sınıf Sözdizimi

class RecursiveRegexIterator extends RegexIterator implements RecursiveIterator {
/* Miras alınan sabitler */
/* Miras alınan özellikler */
public ?string $replacement = null;
/* Yöntemler */
public __construct(
    RecursiveIterator $iterator,
    string $pattern,
    int $mode = RecursiveRegexIterator::MATCH,
    int $flags = 0,
    int $pregFlags = 0
)
public hasChildren(): bool
/* Miras alınan yöntemler */
}

İçindekiler

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top