Zend - The PHP Company




Code Gallery: maniac


Bit manipulation  

Type: code fragment
Added by: maniac
Entered: 27/03/2000
Last modified: 08/12/1999
Rating: **** (9 votes)
Views: 9057
If you need to keep track of a lot of on/off toggles, like user settings etc. There is only one easy way to store and manipulate these values: Bitfields. With these functions manipulating bitfields becomes easy. Everything you need is included below.




Search