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.
Not
:
Istället
för
ett
funktionsnamn
,
kan
en
array
innehållande
en
objektreferens
och
ett
metodnamn
också
ges
.