PHP. FileSerialize

Class to allow serialization of any serialize()-able datatype to a file.

Summary
Class to allow serialization of any serialize()-able datatype to a file.
Deserialize data from the file.
Serialize provided data to file

Functions

FileSerialize Constructor

Parameters

$filenameName of file for data to be serialized to
$base64_encoding(optional) If this is set to true, base64 encode the data.  Default is false.

FileSerialize->read

Deserialize data from the file.

Returns

Variable containing deserialized data.

FileSerialize->write

Serialize provided data to file

Parameters

$dataData to be serialized