-
Notifications
You must be signed in to change notification settings - Fork 34
classes_essentials_session_serializer.class
Daniel Spors edited this page Dec 19, 2023
·
2 revisions
Serializer/Unserializer We have our very own that support some specialities like database reconnection, datetime formats, reflection,... As we implemented our own object storage and serialize it in one run, we can be sure that the referential integrity will be given.
Serializes a value Can be anything from complex object to bool value
Definition: public function Serialize($data)
Returns: string
Serialized data string
Parameters:
-
mixed $data
Value to serialize
Restores something from a serialized data string Note that of course all types used in that string must be known to the unserializing application!
Definition: public function Unserialize($data)
Returns: mixed
Whatever was serialized
Parameters:
-
string $data
Serialized data