略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: RecursiveIterator

2024-12-20

The RecursiveIterator interface

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

简介

Classes implementing RecursiveIterator can be used to iterate over iterators recursively.

接口摘要

interface RecursiveIterator extends Iterator {
/* 方法 */
public hasChildren(): bool
/* 继承的方法 */
public Iterator::next(): void
public Iterator::rewind(): void
public Iterator::valid(): bool
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.recursiveiterator.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3