PHP Classes

Better Array Storage: Serialized arrays into compressed data

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 1,183 All time: 3,205 This week: 72Up
Version License Categories
better-array-storage 1.0Free for non-comm...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: 40
All time rank: 2176 in Romania Romania
Week rank: 192 Up4 in Romania Romania Up

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,183
This week:0
All time:3,205
This week:72Up
 User Ratings  
 
 All time
Utility:58%StarStarStar
Consistency:58%StarStarStar
Documentation:58%StarStarStar
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:3272