Login   Register  
PHP Classes
elePHPant
Icontem

Binary serialization: Serialize and unserialize values in binary format

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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-03-17 (5 years ago) RSS 2.0 feedStarStarStar 48%Total: 582 All time: 4,797 This week: 1,420Up
Version License PHP version Categories  
bserialization 1.0BSD License4.0Data types
Description Author  

This class can be used to serialize and unserialize values in binary format.

It can take a scalar value, array or object and generates string of platform independent binary data that represents the value.

The class can also do the opposite, i.e. unserialize binary data previously serialized by this class and rebuilds the original value.

Innovation Award  
PHP Programming Innovation award nominee
March 2009
Number 4


Prize: One book of choice by O'Reilly
PHP provides functions to serialize variable values, so they can be stored or sent over a network as a single string.

The unserialize function reverses the process by rebuilding the original variable value from the serialized value.

PHP serializes values into text strings. This class provides an alternative serialization method that uses a binary format to represent the serialized values.

This way, serialized values take less space to store and less time to transmit over a network.

Manuel Lemos
Picture of Cesar D. Rodas
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 37 packages by
Country: Paraguay Paraguay
Age: 26
All time rank: 71 in Paraguay Paraguay
Week rank: 21 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 24x

Winner: 5x

  Files folder image Files  
File Role Description
Plain text file bserialize.php Class Main class
Accessible without login Plain text file error.php Aux. Human readable error texts
Accessible without login Plain text file test.php Test Class test (and also sample)

 Version Control Unique User Downloads Download Rankings  
 0%Total:582All time:4,797
 This week:0This week:1,420Up
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:56%StarStarStar
Documentation:-
Examples:-
Tests:81%StarStarStarStarStar
Videos:-
Overall:48%StarStarStar
Rank:1740