PHP code example of storyous / bucket-determinator
1. Go to this page and download the library: Download storyous/bucket-determinator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
storyous / bucket-determinator example snippets
use BucketDeterminator\BucketDeterminator;
$bucketDeterminator = new BucketDeterminator(32);
echo $bucketDeterminator->determine('5576a1a886157828c11bac4f'); // 15
php vendor/bin/tester --coverage ./coverage.html --coverage-src ./src -c /path/to/php-ini/php.ini tests