The RecursiveRegexIterator class
(PHP 5 >= 5.2.0, PHP 7, PHP 8)
簡介
This recursive iterator can filter another recursive iterator via a regular expression.
類摘要
/* 繼承的常量 */
/* 繼承的屬性 */
/* 方法 */
public __construct(
RecursiveIterator
string
int
int
int
)
RecursiveIterator
$iterator
,string
$pattern
,int
$mode
= RecursiveRegexIterator::MATCH,int
$flags
= 0,int
$pregFlags
= 0)
/* 繼承的方法 */
}目錄
- RecursiveRegexIterator::__construct — Creates a new RecursiveRegexIterator
- RecursiveRegexIterator::getChildren — Returns an iterator for the current entry
- RecursiveRegexIterator::hasChildren — Returns whether an iterator can be obtained for the current entry