Compression: Better Array Storage
Bogdan Zarchievici (contact me)
This is a simple class that can serialize and unserialize arrays in compressed data.
The class uses the var_export function to create a serialized version of the array that is compressed with zlib library functions.
To unserialize the class decompresses the serialized array and uses the PHP eval function to restore the original array values.
The class can operate on arrays of any number of dimensions.
Click here for detailed information about this class on phpclasses.org