update : 2015.11.03
php.shukuma.com검색:
|
The RecursiveCallbackFilterIterator class(PHP 5 >= 5.4.0) 소개
클래스 개요
RecursiveCallbackFilterIterator
extends
CallbackFilterIterator
implements
OuterIterator
,
RecursiveIterator
{
/* 메소드 */
/* 상속된 메소드 */
}예제The callback should accept up to three arguments: the current item, the current key and the iterator, respectively. Example #1 Available callback arguments
<?php
Filtering a recursive iterator generally involves two conditions.
The first is that, to allow recursion, the callback function should return Example #2 Recursive callback basic example
<?php Table of Contents
|