session-encode

session_encode

Encodes the current session data as a session encoded string

ENTITY

string

false

session_encode

session_encode returns a serialized string of the contents of the current session data stored in the $_SESSION superglobal.

By default, the serialization method used is internal to PHP, and is not the same as serialize. The serialization method can be set using session.serialize_handler.

ENTITY ENTITY

ENTITY

Returns the contents of the current session encoded, ENTITY.

ENTITY

[!WARNING] Must call session_start before using session_encode.

ENTITY

session_decode, session.serialize_handler


版本号 #2
由 壳壳虫 创建于 2026-10-31 18:00:49 UTC
由 壳壳虫 更新于 2026-10-31 18:00:50 UTC