PHP Classes

Bit field: Manipulate bit field values

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 265 All time: 7,765 This week: 455Up
Version License PHP version Categories
bit-field 1.0GNU General Publi...5.2PHP 5, Data types


This class can be used to manipulate bit field values.

It can create a bit field from either an integer number or a string of bits.

The class provides an Iterator interface to traverse the list of bits, function to set or get individual bit values, as well convert the bit field into integer, hexadecimal, octal and array values.

Picture of eridal
Name: eridal <contact>
Classes: 2 packages by
Country: Argentina Argentina
Age: ???
All time rank: 351849 in Argentina Argentina
Week rank: 360 Up5 in Argentina Argentina Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file Bitfield.php Class Bitfield. Contains documentation and examples
Plain text file Bitfield.test.php Aux. test file

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