SessionHelper
in package
FinalYes
Session Helper.
Table of Contents
Methods
- unserialize() : array<string|int, mixed>
- Unserialize the session.
- unserializePhp() : array<string|int, mixed>
- Unserialize the session. When session.serialize_handler is "php"
- unserializePhpBinary() : array<string|int, mixed>
- Unserialize the session. When session.serialize_handler is "php_binary".
Methods
unserialize()
Unserialize the session.
public
static unserialize(string $session) : array<string|int, mixed>
Parameters
- $session : string
-
Serialized session data.
Return values
array<string|int, mixed> —Unserialized session data.
unserializePhp()
Unserialize the session. When session.serialize_handler is "php"
public
static unserializePhp(string $session) : array<string|int, mixed>
Parameters
- $session : string
-
Serialized session data.
Return values
array<string|int, mixed> —Unserialized session data.
unserializePhpBinary()
Unserialize the session. When session.serialize_handler is "php_binary".
public
static unserializePhpBinary(string $session) : array<string|int, mixed>
Parameters
- $session : string
-
Serialized session data.
Return values
array<string|int, mixed> —Unserialized session data.