PHP - session_decode
Trieda
Metóda - session_decode
(PHP 4, PHP 5, PHP 7)
This function decodes given session data and saves them in the
$_SESSION superglobal variable.
Procedurálne
- function session_decode (string $data) : bool
Parametre
| Názov | Dátový typ | Predvolená hodnota | Popis |
|---|---|---|---|
| $data | string | Serializovaná data which will be stored into the |
Mávratovej hodnoty
Vracia: bool
Returns true on success, false otherwise.
Príklady
<?php
$data = "Session data encrypted by the session_encode() function";
$result = session_decode($data);
Súvisiace manuály
- function session_encode () : string
