略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: DOMNamedNodeMap::getNamedItemNS

2024-04-30

DOMNamedNodeMap::getNamedItemNS

(PHP 5, PHP 7, PHP 8)

DOMNamedNodeMap::getNamedItemNS Retrieves a node specified by local name and namespace URI

说明

public DOMNamedNodeMap::getNamedItemNS(?string $namespace, string $localName): ?DOMNode

Retrieves a node specified by localName and namespace.

参数

namespace

The namespace URI of the node to retrieve.

localName

The local name of the node to retrieve.

返回值

A node (of any type) with the specified local name and namespace URI, or null if no node is found.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/domnamednodemap.getnameditemns.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3