Skip to content

shooyaaa/php_bitmap

Repository files navigation

A php version bitmap extension

install:
    phpize
    ./configure --enable-php_bitmap
    make
    make install

usage:
    $foo = new PhpBitmap();
    $foo->setBit(1);
    $foo->setBit(100);
    $foo->getBit(1);
    echo $foo->dumpBit();
    var_export($foo->getBytes());
    
    You can init bits from string too.
    
    $foo = new PhpBitmap('a');
    $foo->dumpBit();

About

a bitmap extension for php

Resources

Stars

Watchers

Forks

Packages

No packages published