DOM XML (PHP 4) 函数
PHP Manual

DomAttribute->name

(PHP 4 >= 4.1.0)

DomAttribute->name Returns the name of attribute

说明

string DomAttribute::name ( void )

Gets the name of the attribute.

返回值

Returns the name of the attribute.

Migrating to PHP 5

Use the name property of DOMAttr.

参见


DOM XML (PHP 4) 函数
PHP Manual