<?php // Generate a load of "random" input $strings = array_map('md5', range(1, 100)); $bucketCount = 10; $buckets = []; foreach ($strings as $string) { $key = crc32($string) % $bucketCount; $buckets[$key][] = $string; } print_r($buckets);
You have javascript disabled. You will not be able to edit any code.
This script was stopped while abusing our resources