- floor: documentation ( source)
- sprintf: documentation ( source)
- crc32: documentation ( source)
<?php
$url = 'http://www.sheknows.com/8352/sheknows/beauty-and-style/hairstyles-and-haircare';
$shard = floor(crc32($url) % 20);
echo sprintf('sk:redirects:%s', $shard);