PHP » GoLang |
login |
register |
about
|
GoLang SimpleXMLIterator::hasChildren
request it (292)
GoLang replacement for PHP's SimpleXMLIterator::hasChildren
[edit | history]
PHP SimpleXMLIterator::hasChildrenPHP original manual for SimpleXMLIterator::hasChildren [ show | php.net ]SimpleXMLIterator::hasChildren(PHP 5, PHP 7) SimpleXMLIterator::hasChildren — Checks whether the current element has sub elements Description
public bool SimpleXMLIterator::hasChildren
( void
)
This method checks whether the current SimpleXMLIterator element has sub-elements. ParametersThis function has no parameters. Return Values
Examples
Example #1 Check whether the current element has sub-elements
<?php The above example will output: object(SimpleXMLIterator)#2 (2) { ["title"]=> string(10) "PHP Basics" ["author"]=> string(9) "Jim Smith" } |
more
Recently updated
more
Most requested
more
Last requests
|