|
xml_set_objectUse XML Parser within an object Description
bool xml_set_object
( resource
$parser
, object &$object
)
This function allows to use Caution
In addition to calling xml_parser_free when the parsing
is finished, as of PHP 7.0.0 it is necessary to also explicitly unset the
reference to Parameters
Return Values
Returns Examples
Example #1 xml_set_object example
<?php The above example will output: string(1) "A" array(1) { ["ID"]=> string(5) "hallo" } string(3) "PHP" string(1) "A" |