XML_Unserializer::unserialize()

XML_Unserializer::unserialize() -- unserialize data

Synopsis

require_once 'Unserializer.php';

boolean XML_Unserializer::unserialize (string $data [, boolean $isFile = FALSE [, array $options = NULL]])

Description

Unserialize an XML document from a string or a file.

The way the document is unserialized is influenced by the options you set in the constructor or with setOptions().

Parameter

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.