PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2009-03-17 (10 years ago) RSS 2.0 feedStarStarStar 48%Total: 617 All time: 4,994 This week: 437Up
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
  Performance   Level  
Name: Cesar D. Rodas <contact>
Classes: 39 packages by
Country: Paraguay Paraguay
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:617
This week:0
All time:4,994
This week:437Up
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:56%StarStarStar
Documentation:-
Examples:-
Tests:81%StarStarStarStarStar
Videos:-
Overall:48%StarStarStar
Rank:2499