= 5.1.0, PHP 7, PHP 8)XMLReader::moveToAttribute — Move cursor to a named attribute說(shuō)明public XMLReader::moveToAttribu">

XMLReader::moveToAttribute

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

XMLReader::moveToAttributeMove cursor to a named attribute

說(shuō)明

public XMLReader::moveToAttribute(string $name): bool

Positions cursor on the named attribute.

參數(shù)

name

The name of the attribute.

返回值

成功時(shí)返回 true, 或者在失敗時(shí)返回 false

參見(jiàn)