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.
Anmerkung
:
Anstelle
eines
Funktionsnamens
kann
auch
ein
Array
mit
einer
Objekt-Referenz
und
dem
Namen
einer
Methode
angegeben
werden
.