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.
Opmerking
:
In
plaats
van
een
functie
naam
kun
je
ook
een
array
met
daarin
een
verwijzing
naar
een
object
en
een
method
naam
geven
.