<?php
(
'ко',
'и',
'дзу',
'ми',
'са',
'ку',
'ра',
'да',
'чи',
'а',
'ки',
'ми',
'на',
'го',
'ха',
'ру'
);
$name = '';
for($i=1; $i<=4; $i++)
{
$randomText = $letters[$random];
echo "Выпало число {$random}, слог {$randomText}\n";
$name = $name . $randomText;
}
echo "-----------\n";
echo "Советую имя {$name} - не прогадаешь!";
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CiRsZXR0ZXJzID0gYXJyYXkKCSgKCQkn0LrQvicsICAgCgkJJ9C4JywgICAgCgkJJ9C00LfRgycsICAKCQkn0LzQuCcsCiAgIAkgCSfRgdCwJywgICAKCQkn0LrRgycsICAgCgkJJ9GA0LAnLCAgIAoJCSfQtNCwJywKICAgIAkn0YfQuCcsICAgCgkJJ9CwJywgICAgCgkJJ9C60LgnLCAgIAoJCSfQvNC4JywKICAgCSAJJ9C90LAnLCAgIAoJCSfQs9C+JywgICAKCQkn0YXQsCcsICAgCgkJJ9GA0YMnCgkpOwogCiRuYW1lID0gJyc7CiAKZm9yKCRpPTE7ICRpPD00OyAkaSsrKQoJewoJCSRyYW5kb20gPSBhcnJheV9yYW5kKCRsZXR0ZXJzKTsKCQkkcmFuZG9tVGV4dCA9ICRsZXR0ZXJzWyRyYW5kb21dOwoJCWVjaG8gItCS0YvQv9Cw0LvQviDRh9C40YHQu9C+IHskcmFuZG9tfSwg0YHQu9C+0LMgeyRyYW5kb21UZXh0fVxuIjsKCQkkbmFtZSA9ICRuYW1lIC4gJHJhbmRvbVRleHQ7Cgl9CgplY2hvICItLS0tLS0tLS0tLVxuIjsKZWNobyAi0KHQvtCy0LXRgtGD0Y4g0LjQvNGPIHskbmFtZX0gLSDQvdC1INC/0YDQvtCz0LDQtNCw0LXRiNGMISI7