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