# RecursiveCallbackFilterIterator::getChildren

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

RecursiveCallbackFilterIterator::getChildren — Return the inner iterator's children contained in a RecursiveCallbackFilterIterator

### 说明

public RecursiveCallbackFilterIterator::getChildren(): RecursiveCallbackFilterIterator

Fetches the filtered children of the inner iterator.

RecursiveCallbackFilterIterator::hasChildren() should be used to determine if there are children to be fetched.

### 参数

此函数没有参数。

### 返回值

Returns a RecursiveCallbackFilterIterator containing the children.

### 参见

- RecursiveCallbackFilterIterator Examples
- RecursiveCallbackFilterIterator::__construct() - Create a RecursiveCallbackFilterIterator from a RecursiveIterator
- RecursiveCallbackFilteriterator::hasChildren() - Check whether the inner iterator's current element has children

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open