The RecursiveRegexIterator class

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

简介

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

类摘要

class RecursiveRegexIterator extends RegexIterator implements RecursiveIterator {
/* 继承的常量 */
/* 继承的属性 */
public ?string $replacement = null;
/* 方法 */
public __construct(
    RecursiveIterator $iterator,
    string $pattern,
    int $mode = RecursiveRegexIterator::MATCH,
    int $flags = 0,
    int $pregFlags = 0
)
public hasChildren(): bool
/* 继承的方法 */
}

目录

add a note

User Contributed Notes

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