Source for file unserializeEnum.php
Documentation is available at unserializeEnum.php
* This example shows how to use the XML_UNSERIALIZER_OPTION_FORCE_ENUM
* @author Stephan Schmidt <schst@php.net>
require_once 'XML/Unserializer.php';
// be careful to always use the ampersand in front of the new operator
// userialize the document
if (PEAR ::isError ($status)) {
echo 'Error: ' . $status->getMessage ();
$data = $unserializer->getUnserializedData ();
// userialize the document
if (PEAR ::isError ($status)) {
echo 'Error: ' . $status->getMessage ();
$data = $unserializer->getUnserializedData ();
Documentation generated on Mon, 11 Mar 2019 15:41:41 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|