PHP » GoLang |
login |
register |
about
|
GoLang SimpleXMLElement::count
request it (338)
GoLang replacement for PHP's SimpleXMLElement::count
[edit | history]
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 ValuesReturns the number of elements of an element. Examples
Example #1 Counting the number of children
<?php The above example will output: Person 1 has got 3 children. Person 2 has got 5 children. |
more
Recently updated
more
Most requested
more
Last requests
|