SimpleXMLElement::count
SimpleXMLElement::count
(PHP 5 >= 5.3.0, PHP 7)
SimpleXMLElement::count — Counts the children of an element
Description
public int SimpleXMLElement::count ( void )
This method counts the number of children of an element.
Return Values
Returns the number of elements of an element.
Examples
Example #1 Counting the number of