PHP Classes

Bit field: Manipulate bit field values

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

Author

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

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:265
This week:0
All time:7,770
This week:455Up