Bitset

BITSET extension


The BitSet extension assists by providing a mechanism to manage sets of bits.
This provides a similar API (object-based) to java.util.BitSet with some PHP-specific flavoring.

License: PHP-3.01

Latest releases

Version Release Download
3.2.0 2023-05-26 bitset-3.2.0.tgz
3.1.0 2023-05-25 bitset-3.1.0.tgz
3.0.1 2017-10-06 bitset-3.0.1.tgz
3.0.0 2016-03-01 bitset-3.0.0.tgz
2.0.4 2017-10-06 bitset-2.0.4.tgz
Show all releases

Changelog

Version Message
3.2.0 - fix BitSet::fromArray() to allow setting bit 0
- add BitSet::fromInteger() and BitSet::toInteger()
3.1.0 - add support for PHP 8.2
- fix #63315: BitSet::fromArray may modify original array value (cmb)
- add type hinting
- minor optimizations
3.0.1 - Fixed out of bounds bug (thanks kgodet)
3.0.0 - Upgraded API to PHP 7.0
- Removed deprecated functions
2.0.4 - Fixed out of bounds bug (thanks kgodet)
- Fixed fromRawValue missing offset
Show complete changelog