Forum und email

XMLReader::open

(PHP 5 >= 5.1.2)

XMLReader::open — パースする XML を含む URI を設定する

説明

XMLReader
bool open ( string $URI [, string $encoding [, int $options ]] )

パースされる XML ドキュメントを含む URI を設定します。

パラメータ

URI

ドキュメントを指す URI。

encoding

ドキュメントのエンコーディングあるいは NULL

options

XMLReader のオプション定数のビットマスク。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

変更履歴

バージョン 説明
5.2.0 encoding および options が追加されました。