Description
bool
xml_set_processing_instruction_handler
( resource parser, string handler)
You can put PHP code into such a tag, but be aware of one
limitation: in an XML PI, the PI end tag (
?
) can not be quoted, so this character sequence should not appear
in the PHP code you embed with PIs in XML documents. If it does,
the rest of the PHP code, as well as the "real" PI end tag, will
be treated as character data.
Nota
:
Ao
invés
de
um
nome
de
função
,
um
array
contendo
uma
referência
de
objeto
e
ao
nome
de
método
também
pode
ser
fornecidos
.