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

XMLReader::moveToAttribute

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

XMLReader::moveToAttributeMove cursor to a named attribute

說明

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

Positions cursor on the named attribute.

參數(shù)

name

The name of the attribute.

返回值

成功時返回 true, 或者在失敗時返回 false。

參見