Home > PHP > Function > Variable handling > unserialize()

unserialize()

unserialize - Creates a PHP value from a stored representation

Syntax

mixed unserialize ()

Arguments

-

Description

unserialize() takes a single serialized variable and converts it back into a PHP value.

Version

PHP 4, 5

Return value

The converted value is returned, and can be a boolean, integer, float, string, array or object.