Function __global->unserialize
Definitions
sources_custom/phpstub.php
- Creates a PHP value from a stored representation.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $str | string | No | No | required parameter | N/A | N/A | Serialized string |
| $options | ?array | No | No | Null | N/A | N/A | Extra options (null: none) |
Returns
- What was originally serialised (false: bad data given, or actually false was serialized)
- Type: ~mixed
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Creates a PHP value from a stored representation.
*
* @param string $str Serialized string
* @param ?array $options Extra options (null: none)
* @return ~mixed What was originally serialised (false: bad data given, or actually false was serialized)
*/
function unserialize(string $str, ?array $options = null)
* Creates a PHP value from a stored representation.
*
* @param string $str Serialized string
* @param ?array $options Extra options (null: none)
* @return ~mixed What was originally serialised (false: bad data given, or actually false was serialized)
*/
function unserialize(string $str, ?array $options = null)

