English[ˌdi:ˈkəʊd] US[ˌdi:ˈkoʊd]

vt. Translate (code), decipher (code); analyze and decode electronic signals

Third person singular: decodes Present participle: decoding Past tense: decoded Past participle: decoded

php session_decode() function syntax

Function:Decode session data

Syntax:bool session_decode (string $data)

Parameters:

Parameters Description
data Encoded data.

Description:session_decode() decodes the serialized session data in the $data parameter, and uses the decoded data to fill $_SESSION Super global variables.

php session_decode() function example


Run instance»

Click the "Run instance" button to view the online instance

Output:

login_ok|b:1;nome|s:4:"sica";inteiro|i:34;



Run Instance»

Click the "Run Instance" button to view the online instance

Output:

name|s:12:"php中文网";id|i:1;pkey|i:1;