- bin2hex: documentation ( source)
- time: documentation ( source)
- phpversion: documentation ( source)
- random_bytes: documentation ( source)
- md5: documentation ( source)
<?php
if (phpversion() != '7.0.0') { die; }
$time = time();
$randomString1 = bin2hex(random_bytes(20));
$randomString2 = bin2hex(random_bytes(10));
for($i=0; $i>10000; $i++)
{
echo md5($time.$randomString1.$randomString2) . "\n";
}