(PHP 8 >= 8.4.0)
XMLReader::fromString — XML 文字列から、XMLReader を作成する
$source
$encoding
null
$flags
XML 文字列から、XMLReader を作成します。
source
パースされる XML を含む文字列。
encoding
ドキュメントのエンコーディングあるいは null。
flags
LIBXML_* 定数のビットマスク。
XMLReader を返します。