class Serialization

Serialisierungsfunktionen

Methods

static string
serialize(mixed $value)

Serialisierung

static mixed
unserialize(string $value)

Einen serialisierten Wert zurück decodieren.

Details

at line 39
static string serialize(mixed $value)

Serialisierung

Parameters

mixed $value

Return Value

string

at line 83
static mixed unserialize(string $value)

Einen serialisierten Wert zurück decodieren.

String s:size:value;

Integer i:value;

Boolean b:value; (does not store "true" or "false", does store '1' or '0')

Null N;

Array a:size:{key definition;value definition;(repeated per element)}

Object O:strlen(object name):object name:object size:{s:strlen(property name):property name:property definition;(repeated per property)}

Serialize-Interface C:

Parameters

string $value

Return Value

mixed

Exceptions

UnserializeException