XMLReader::getParserProperty

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

XMLReader::getParserProperty Indicates if specified property has been set

说明

public XMLReader::getParserProperty(int $property): bool

Indicates if specified property has been set.

参数

property

One of the parser option constants.

返回值

成功时返回 true, 或者在失败时返回 false

参见