TRUE, 'encoding' => 'ISO-8859-1', 'indent' => ' ', 'indentAttributes' => '_auto', 'rootName' => 'phpEnv', 'defaultTagName' => 'extensions', 'typeHints' => TRUE, ); $Serializer = &new XML_Serializer($serializer_options); error_reporting(E_ALL ^ E_NOTICE); $status = $Serializer->serialize($phpEnv); // Check whether serialization worked if (PEAR::isError($status)) { die($status->getMessage()); } // Display the XML document header('Content-type: text/xml'); echo $Serializer->getSerializedData(); } else { ?>
$value ) {
?>
:
global value [],
local value []