XMLReader::close

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

XMLReader::closeClose the XMLReader input

說明

public XMLReader::close(): bool

Closes the input the XMLReader object is currently parsing.

參數

此函數沒有參數。

返回值

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

參見