goba Sat Oct 12 10:33:20 2002 EDT
Modified files:
/phpdoc/en/reference/var/functions unserialize.xml
Log:
Adding my findings about what unserialize returns on error
Index: phpdoc/en/reference/var/functions/unserialize.xml
diff -u phpdoc/en/reference/var/functions/unserialize.xml:1.2
phpdoc/en/reference/var/functions/unserialize.xml:1.3
--- phpdoc/en/reference/var/functions/unserialize.xml:1.2 Wed Apr 17 02:44:59
2002
+++ phpdoc/en/reference/var/functions/unserialize.xml Sat Oct 12 10:33:20 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/var.xml, last change in rev 1.2 -->
<refentry id="function.unserialize">
<refnamediv>
@@ -20,6 +20,7 @@
back into a PHP value. The converted value is returned, and can
be an <type>integer</type>, <type>float</type>,
<type>string</type>, <type>array</type> or <type>object</type>.
+ In case the passed string is not unserializeable, &false; is returned.
</simpara>
<note>
<para>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php