PHP unserialize() Function
The unserialize() function creates a PHP value from a
stored representation.
Syntax
unserialize(string $data, array $options = []): mixed
Try It Online
Output
Click Run to execute your code
Related Functions
- serialize() - Generates a storable representation of a value
- json_decode() - Decodes a JSON string
Enjoying these tutorials?