phpday 2027 - Call for Papers

RecursiveCachingIterator::hasChildren

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

RecursiveCachingIterator::hasChildren — Check whether the current element of the inner iterator has children

Descrizione

public function RecursiveCachingIterator::hasChildren(): bool

Checks whether the current element has children. The inner iterator is asked when the iterator moves to the element, so this method returns the result that was stored at that time.

Elenco dei parametri

Questa funzione non ha parametri.

Valori restituiti

Returns true if the current element has children, false otherwise.

Vedere anche:

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top