downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

XMLWriter> <XMLReader::setSchema
[edit] Last updated: Fri, 25 May 2012

view this page in

XMLReader::XML

(PHP 5 >= 5.1.2)

XMLReader::XMLパースする XML を含むデータを設定する

説明

bool XMLReader::xml ( string $source [, string $encoding [, int $options = 0 ]] )

パースする XML を含むデータを設定します。

パラメータ

source

パースされる XML を含む文字列。

encoding

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

options

LIBXML_* 定数のビットマスク。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。 静的にコールされた場合には XMLReader を返します。 失敗した場合に FALSE を返します

エラー / 例外

このメソッドは、静的にコールすることも できはしますがE_STRICT エラーが発生します。

変更履歴

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

参考



add a note add a note User Contributed Notes XMLReader::XML
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites