PHP » GoLang |
login |
register |
about
|
unserialize(PHP 4, PHP 5, PHP 7) unserialize — Creates a PHP value from a stored representation Descriptionunserialize() takes a single serialized variable and converts it back into a PHP value. Warning
Do not pass untrusted user input to unserialize() regardless
of the If you need to unserialize externally-stored serialized data, consider using hash_hmac() for data validation. Make sure data is not modified by anyone but you. 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
|
more
Recently updated
more
Most requested
more
Last requests
|