CakeFest 2024: The Official CakePHP Conference

RecursiveRegexIterator クラス

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

はじめに

この再帰イテレータは、別の再帰イテレータを正規表現でフィルタリングすることができます。

クラス概要

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