PHP code example of nealcaffrey / bloomfiltercalculator

1. Go to this page and download the library: Download nealcaffrey/bloomfiltercalculator 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/ */

    

nealcaffrey / bloomfiltercalculator example snippets


use Nealcaffrey\BloomFilterCalculator;

$bloom = new BloomFilterCalculator();
$res = $bloom->calcFunctions(1000000, 0.01, 2);
echo $res;