PHPackages                             nikeee/bit-array - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nikeee/bit-array

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

nikeee/bit-array
================

A bit array implementation for PHP

v0.2.0(4y ago)011LGPL-3.0-or-laterPHPPHP &gt;=7.4CI passing

Since Jun 22Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/nikeee/php-bit-array)[ Packagist](https://packagist.org/packages/nikeee/bit-array)[ Docs](https://github.com/nikeee/php-bit-array)[ RSS](/packages/nikeee-bit-array/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (4)Used By (0)

bit-array [![CI](https://github.com/nikeee/php-bit-array/actions/workflows/CI.yml/badge.svg)](https://github.com/nikeee/php-bit-array/actions/workflows/CI.yml) [![CD](https://github.com/nikeee/php-bit-array/actions/workflows/CD.yml/badge.svg)](https://github.com/nikeee/php-bit-array/actions/workflows/CD.yml) [![Packagist Version](https://camo.githubusercontent.com/a8da0b3a92d04f34b9e9d70cf3624ea9a89beb4295d8926ccef4b272e7a224da/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e696b6565652f6269742d6172726179)](https://packagist.org/packages/nikeee/bit-array)
=========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#bit-array---)

A bit-array implementation for PHP. Compatible with the BitArray of [ts-ds](https://github.com/nikeee/ts-ds).

Depending on the extensions that are available, `GMP` is used under the hood for faster bit operations.

Installation
------------

[](#installation)

```
composer require nikeee/bit-array
```

Usage
-----

[](#usage)

```
