library data-structures
Collection of data structures for PHP
maxwilms/data-structures
Collection of data structures for PHP
- Thursday, August 6, 2015
- by maxwilms
- Repository
- 1 Watchers
- 0 Stars
- 14 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 8 % Grown
PHP Data Structures
Collection of Data Structures for various purposes., (*1)
Installation
First install composer., (*2)
Require the data structure collection via composer:, (*3)
composer require maxwilms/data-structures
Now you are ready to use it!, (*4)
BitArray
Data Structure to compactly store bits., (*5)
<?php
use maxwilms\DataSructures\BitArray;
$bitArray = new BitArray(1000); // should store 1000 bits.
$bitArray->set(3); // set a single bit
$bitArray->has(3); // true
$bitArray->has(17); // false
dev-master
9999999-dev
Collection of data structures for PHP
Sources
Download
MIT
The Development Requires
by
Maximilian Wilms