SimpleXMLElement::children
SimpleXMLElement::children
(PHP 5 >= 5.0.1, PHP 7)
SimpleXMLElement::children — Finds children of given node
Description
public SimpleXMLElement SimpleXMLElement::children ([ string $ns [, bool $is_prefix = false ]] )
This method finds the children of an element. The result follows normal iteration rules.
Note: SimpleXML has made a rule of adding iterative properties to most methods. They cannot be viewed using var_dump() or anything else