PHP Classes
elePHPant
Icontem

Bit Array: Manipulate compact arrays of bit values

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-03-19 (15 years ago) RSS 2.0 feedNot enough user ratingsTotal: 935 All time: 3,764 This week: 794Up
Version License Categories
bitarray 1.0.0Free for non-comm...Data types
Description Author

This class is meant to manipulate compact array of bit values. These values are represented as booleans, where true indicates that the bit is on (1) and false indicates the bit is off (0).

The class can manipulate bit arrays that are stored internally as strings.

The bit arrays may have variable length that is specified when an object of the class is created. Currently the length is limited to 32 bits.

The class provides functions to get and set individual bits values. It also provides functions to perform the bitwise logical operations between two bit arrays AND, OR, XOR and also NOT operartion to invert the bits of one array.

The class is a PHP port of the BitArray class of the .NET framework.

Name: Cornelius Bolten <contact>
Classes: 8 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.and.BitArray.php Example and-example script
Accessible without login Plain text file example.BitArray.php Example example - usage file (setup BitArray, add/edit values)
Accessible without login Plain text file example.not.BitArray.php Example not-example script
Accessible without login Plain text file example.or.BitArray.php Example or-example script
Accessible without login Plain text file example.xor.BitArray.php Example xor-example script
Plain text file lib.BitArray.php Class main BitArray-Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:935
This week:0
All time:3,764
This week:794Up