XMLReader::open
(PHP 5 >= 5.1.0, PHP 7)
XMLReader::open — Set the URI containing the XML to parse
Opis
public
XMLReader::open
( string $URI
[, string $encoding
= NULL
[, int $options
= 0
]] ) : bool
Parametry
-
URI
-
URI pointing to the document.
-
encoding
-
The document encoding or NULL
.
-
options
-
A bitmask of the LIBXML_*
constants.
Zwracane wartości
Zwraca TRUE
w przypadku powodzenia, FALSE
w
przypadku błędu. If called statically, returns an
XMLReader lub FALSE
w przypadku niepowodzenia.
Błędy/Wyjątki
Ta metoda może być wywoływana statycznie, ale spowoduje błąd E_STRICT
.