September 2001
Intermediate to advanced
768 pages
32h 45m
English
mixed unserialize(string serialized_value) Converts serialized data back into a typed PHP value.
Returns:
Value represented by the serialized string; FALSE if the given argument is not a serialized value
Description:
unserialize() converts a single string of serialized data back into the value that it represents. See the serialize() function for more information on how variables are serialized. If the serialized_value argument is not a string or is an invalid format for serialized data, the function returns FALSE.
Availability:
UNIX, Windows
Version:
3.0.5+, 4+
See also:
serialize()
Example:
<pre> <?php // Serialize an array $serialized_data = serialize (array ('uno', 'dos', 'tres')); // Show what ... |
Read now
Unlock full access