<?php
echo "Тест кто ты по жизни\n";
echo "У анона выпало ($anonDice1)\n";
$lastDigit=($anonDice1%10);
switch ($lastDigit) {
case 0:
echo "Петух\n";
break;
case 1:
echo "Крыса\n";
break;
case 2:
echo "Пахан\n";
break;
case 3:
echo "Вор\n";
break;
case 4:
echo "Пистон\n";
break;
case 5:
echo "Тесак\n";
break;
case 6:
echo "Шестерка\n";
break;
case 7:
echo "Вертухай\n";
break;
case 8:
echo "Бывалый\n";
break;
case 9:
echo "Чухан\n";
break;
}
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CgokYW5vbkRpY2UxPW10X3JhbmQoMCw5OTk5OTkpOwplY2hvICLQotC10YHRgiDQutGC0L4g0YLRiyDQv9C+INC20LjQt9C90LhcbiI7CmVjaG8gItCjINCw0L3QvtC90LAg0LLRi9C/0LDQu9C+ICgkYW5vbkRpY2UxKVxuIjsKCiRsYXN0RGlnaXQ9KCRhbm9uRGljZTElMTApOwoKc3dpdGNoICgkbGFzdERpZ2l0KSB7CgljYXNlIDA6CgkJZWNobyAi0J/QtdGC0YPRhVxuIjsKCQlicmVhazsKCWNhc2UgMToKCQllY2hvICLQmtGA0YvRgdCwXG4iOwoJCWJyZWFrOwoJY2FzZSAyOgoJCWVjaG8gItCf0LDRhdCw0L1cbiI7CgkJYnJlYWs7CgljYXNlIDM6CgkJZWNobyAi0JLQvtGAXG4iOwoJCWJyZWFrOwoJY2FzZSA0OgoJCWVjaG8gItCf0LjRgdGC0L7QvVxuIjsKCQlicmVhazsKCWNhc2UgNToKCQllY2hvICLQotC10YHQsNC6XG4iOwoJCWJyZWFrOwoJY2FzZSA2OgoJCWVjaG8gItCo0LXRgdGC0LXRgNC60LBcbiI7CgkJYnJlYWs7CgljYXNlIDc6CgkJZWNobyAi0JLQtdGA0YLRg9GF0LDQuVxuIjsKCQlicmVhazsKCWNhc2UgODoKCQllY2hvICLQkdGL0LLQsNC70YvQuVxuIjsKCQlicmVhazsKCWNhc2UgOToKCQllY2hvICLQp9GD0YXQsNC9XG4iOwoJCWJyZWFrOwp9