RecursiveArrayIterator::hasChildrenReturns whether current entry is an array or an object. Description
public bool RecursiveArrayIterator::hasChildren
( void
)
Returns whether current entry is an array or an object for which an iterator can be obtained via RecursiveArrayIterator::getChildren. ParametersThis function has no parameters. Return Values
Returns Examples
Example #1 RecursiveArrayIterator::hasChildren example
<?php The above example will output: No children. No children. a : apple p : pear See Also
|