(PHP 5 >= 5.1.2)
XMLReader::open — Set the URI containing the XML to parse
Set the URI containing the XML document to be parsed.
URI pointing to the document.
The document encoding or NULL.
A bitmask of the XMLReader Options constants.
如果成功则返回 TRUE,失败则返回 FALSE。
| 版本 | 说明 |
|---|---|
| 5.2.0 | encoding and options were added. |