Login   Register  
PHP Classes

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

  Author Author  
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: 25 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 24x

Winner: 5x

  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Cesar D. Rodas  >  Binary serialization  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Binary serialization
Base name: bserialization
Description: Serialize and unserialize values in binary format
Version: -
PHP version: 4.0
License: BSD License
All time users: 582 users
All time rank: 4788
Week users: 0 users
Week rank: 1420 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Data types Modeling and manipulating data types View top rated classes

  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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (68%) Not sure (56%) - - Good (81%) - Not sure (48%) 1735
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  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)

Download Download all files: bserialization.tar.gz bserialization.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.