<?php
$numbers = array(); //создаём массив для номеров for ($i=0; $i < 100; $i++)
{
$randomCode = mt_rand(001, 999); //генерирует код страны $randomNumbers = mt_rand(0000001, 9999999); //генерирует номер абонента $numbers[$i] = "8$randomCode$randomNumbers\n"; //собирает номер
}
for ($i=0; $i < count($numbers); $i++) //выводим номера {
echo "$numbers[$i]\n";
}
PD9waHAKZXJyb3JfcmVwb3J0aW5nKC0xKTsKCiRudW1iZXJzID0gYXJyYXkoKTsgLy/RgdC+0LfQtNCw0ZHQvCDQvNCw0YHRgdC40LIg0LTQu9GPINC90L7QvNC10YDQvtCyCmZvciAoJGk9MDsgJGkgPCAxMDA7ICRpKyspIAp7IAoJJHJhbmRvbUNvZGUgPSBtdF9yYW5kKDAwMSwgOTk5KTsgLy/Qs9C10L3QtdGA0LjRgNGD0LXRgiDQutC+0LQg0YHRgtGA0LDQvdGLCiAgICAkcmFuZG9tTnVtYmVycyA9IG10X3JhbmQoMDAwMDAwMSwgOTk5OTk5OSk7IC8v0LPQtdC90LXRgNC40YDRg9C10YIg0L3QvtC80LXRgCDQsNCx0L7QvdC10L3RgtCwCiAgICAkbnVtYmVyc1skaV0gPSAiOCRyYW5kb21Db2RlJHJhbmRvbU51bWJlcnNcbiI7IC8v0YHQvtCx0LjRgNCw0LXRgiDQvdC+0LzQtdGACn0KCmZvciAoJGk9MDsgJGkgPCBjb3VudCgkbnVtYmVycyk7ICRpKyspIC8v0LLRi9Cy0L7QtNC40Lwg0L3QvtC80LXRgNCwCnsgCgllY2hvICIkbnVtYmVyc1skaV1cbiI7Cn0K