XMLReader::moveToNextAttribute

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

XMLReader::moveToNextAttributePosition cursor on the next Attribute

說(shuō)明

public XMLReader::moveToNextAttribute(): bool

Moves cursor to the next Attribute if positioned on an Attribute or moves to first attribute if positioned on an Element.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

參見