Login   Register  
PHP Classes
elePHPant
Icontem

Better Array Storage: Serialized arrays into compressed data

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-01-07 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,115 All time: 3,126 This week: 1,311Up
Version License Categories  
better-array-storage 1.0Free for non-commercial...Compression, Data types
Description Author  

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.

Picture of Bogdan Zarchievici
Name: Bogdan Zarchievici <contact>
Classes: 6 packages by
Country: Romania Romania
Age: 30
All time rank: 2165 in Romania Romania
Week rank: 631 Down16 in Romania Romania Down

  Files folder image Files  
File Role Description
Plain text file array_storage.php Class Class
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file usage.txt Doc. Readme

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,115All time:3,126
 This week:0This week:1,311Up