RecursiveArrayIterator::getChildrenReturns an iterator for the current entry if it is an array or an object Descriptionpublic RecursiveArrayIteratornull RecursiveArrayIterator::getChildren()
Returns an iterator for the current iterator entry. ParametersThis function has no parameters. Return Values
An iterator for the current entry, if it is an array or object; or Errors/ExceptionsAn InvalidArgumentException will be thrown if the current entry does not contain an array or an object. Examples
Example #1 RecursiveArrayIterator::getChildren example
The above example will output: No children. No children. a : apple p : pear See Also
|