PHP Classes

Binary serialization: Serialize and unserialize values in binary format

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 623 This week: 1All time: 5,069 This week: 560Up
Version License PHP version Categories
bserialization 1.0.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
  Performance   Level  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 38 packages by
Country: Paraguay Paraguay
Age: 36
All time rank: 71 in Paraguay Paraguay
Week rank: 34 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 25x

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:623
This week:1
All time:5,069
This week:560Up
 User Ratings  
 
 All time
Utility:70%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:-
Tests:79%StarStarStarStar
Videos:-
Overall:49%StarStarStar
Rank:2762