PHP Classes

Binary Array: Manipulate compact arrays of integers with strings

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-06-13 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 275 All time: 7,192 This week: 934Up
Version License PHP version Categories
binary-array 1.0Freely Distributable5.1PHP 5, Data types
Description Author

This package can manipulate compact arrays of integers with strings.

It provides several classes that implement the array access interface to store integer values of fixed length in strings of data.

Currently it provides classes for storing arrays of 8, 16, 32 and 64 bit integers.

Innovation Award
PHP Programming Innovation award nominee
April 2011
Number 3
PHP uses long integers to internally represent any type of integer value.

This class implements an alternative solution to represent arrays of integer values. It uses strings as arrays of bytes of different bit lengths.

This way it can use much less memory to store large arrays of integer values.

Manuel Lemos
Picture of Auslarrie Popier
Name: Auslarrie Popier <contact>
Classes: 1 package by
Country: Germany Germany
Age: ???
All time rank: 3633205 in Germany Germany
Week rank: 1577 Up70 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file binarray.php Class Stores integer data internally as binary string. (WordArray, DWordArray, QWordArray)
Accessible without login Plain text file bytearray.php Class Keeps small integers (0-255) as single bytes in internal array storage.
Accessible without login Plain text file hexarray.php Class Stores integer array internall as hex-string data.
Accessible without login Plain text file test.php Example Example and test script.

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,192
This week:934Up