Skip to content

chdemko/php-bitarray

Repository files navigation

PHP BitArray

Downloads Latest Stable Version Latest Unstable Version Code coverage Build Status License

BitArray for PHP.

This project uses:

Installation

Using composer: either

$ composer create-project chdemko/bitarray:1.0.x-dev --dev; cd bitarray

or create a composer.json file containing

{
    "require": {
        "chdemko/bitarray": "1.0.x-dev"
    }
}

and run

$ composer install

Create a test.php file containg

<?php
require __DIR__ . '/vendor/autoload.php';

use chdemko\BitArray\BitArray;

$bits = BitArray::fromIterable([true,false,false,true]);
echo $bits . PHP_EOL;

This should print

1001

See the examples folder for more information.

Documentation

Citation

If you are using this project including publication in research activities, you have to cite it using (BibTeX format). You are also pleased to send me an email to [email protected].

About

PHP Bit Arrays

Topics

Resources

License

Stars

Watchers

Forks

Contributors