PHP » GoLang |
login |
register |
about
|
GoLang SimpleXMLElement::getNamespaces
request it (412)
GoLang replacement for PHP's SimpleXMLElement::getNamespaces
[edit | history]
PHP SimpleXMLElement::getNamespacesPHP original manual for SimpleXMLElement::getNamespaces [ show | php.net ]SimpleXMLElement::getNamespaces(PHP 5 >= 5.1.2, PHP 7) SimpleXMLElement::getNamespaces — Returns namespaces used in document Description
public array SimpleXMLElement::getNamespaces
([ bool
$recursive = FALSE
] )Returns namespaces used in document Parameters
Return ValuesThe getNamespaces method returns an array of namespace names with their associated URIs. Examples
Example #1 Get document namespaces in use
<?php The above example will output: array(1) { ["p"]=> string(21) "http://example.org/ns" } See Also
|
more
Recently updated
more
Most requested
more
Last requests
|