Configuração
durante
execução
Esta
extenção
não
define
nenhum
parâmetro
de
configuração
no
php.ini
.
Tipos
Resource
Esta
extensão
não
possui
nenhum
tipo
resource
.
Constantes
Predefinidas
As
contantes
abaixo
são
definidas
por
esta
extensão
e
somente
estarão
disponíveis
quando
a
extensão
foi
compilada
com
o
PHP
ou
carregada
dinamicamente
durante
a
execução
.
-
XML_ERROR_NONE
(
integer
)
-
-
XML_ERROR_NO_MEMORY
(
integer
)
-
-
XML_ERROR_SYNTAX
(
integer
)
-
-
XML_ERROR_NO_ELEMENTS
(
integer
)
-
-
XML_ERROR_INVALID_TOKEN
(
integer
)
-
-
XML_ERROR_UNCLOSED_TOKEN
(
integer
)
-
-
XML_ERROR_PARTIAL_CHAR
(
integer
)
-
-
XML_ERROR_TAG_MISMATCH
(
integer
)
-
-
XML_ERROR_DUPLICATE_ATTRIBUTE
(
integer
)
-
-
XML_ERROR_JUNK_AFTER_DOC_ELEMENT
(
integer
)
-
-
XML_ERROR_PARAM_ENTITY_REF
(
integer
)
-
-
XML_ERROR_UNDEFINED_ENTITY
(
integer
)
-
-
XML_ERROR_RECURSIVE_ENTITY_REF
(
integer
)
-
-
XML_ERROR_ASYNC_ENTITY
(
integer
)
-
-
XML_ERROR_BAD_CHAR_REF
(
integer
)
-
-
XML_ERROR_BINARY_ENTITY_REF
(
integer
)
-
-
XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF
(
integer
)
-
-
XML_ERROR_MISPLACED_XML_PI
(
integer
)
-
-
XML_ERROR_UNKNOWN_ENCODING
(
integer
)
-
-
XML_ERROR_INCORRECT_ENCODING
(
integer
)
-
-
XML_ERROR_UNCLOSED_CDATA_SECTION
(
integer
)
-
-
XML_ERROR_EXTERNAL_ENTITY_HANDLING
(
integer
)
-
-
XML_OPTION_CASE_FOLDING
(
integer
)
-
-
XML_OPTION_TARGET_ENCODING
(
integer
)
-
-
XML_OPTION_SKIP_TAGSTART
(
integer
)
-
-
XML_OPTION_SKIP_WHITE
(
integer
)
-
Exemplos
XML
Element
Structure
Example
XML
External
Entity
Example