PHP Manualunserialize(PHP 4, PHP 5) unserialize — Creates a PHP value from a stored representation Descriptionunserialize() takes a single serialized variable and converts it back into a PHP value. Parameters
Return ValuesThe converted value is returned, and can be a boolean, integer, float, string, array or object.
In case the passed string is not unserializeable, Changelog
Examples
Example #1 unserialize() example
<?php
Example #2 unserialize_callback_func example
<?php NotesWarning
See Also
![]() |
PHP-Index
New Tutorial entries
|