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 yet rated by the usersTotal: 264 All time: 7,760 This week: 274Up
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: 351349 in Argentina Argentina
Week rank: 653 Up11 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,760
This week:274Up