XMLReader::moveToFirstAttribute

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

XMLReader::moveToFirstAttributePosition cursor on the first Attribute

說明

public XMLReader::moveToFirstAttribute(): bool

Moves cursor to the first Attribute.

參數

此函數沒有參數。

返回值

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

參見