<?php
$rand = '';
for ( $i=0; $i < 6; $i++ ) {
}
/*echo $rand.'<br />';*/
$lastNumber = $rand % 10;
/*echo $lastNumber.'<br />';*/
$destiny = 'U r.. ';
echo "U've just roll for ur destiny<hr/>";
switch ($lastNumber) {
case (0) :
$destiny .=' - warrior jewdi';break;
case (1) :
$destiny .=' - marauder sith';break;
case (2) :
$destiny .=' - concular jewdi';break;
case (3) :
$destiny .=' - forth whore sith';break;
case (4) :
$destiny .=' - stormtroper';break;
case (5) :
$destiny .=' - wookie';break;
case (6) :
$destiny .=' - mandolorian';break;
case (7) :
$destiny .=' - bounty hunter';break;
case (8) :
$destiny .=' - rebel soldier';break;
case (9) :
$destiny .=' - clown trooper';break;
default :
$destiny .=' - NODOBY, boy. By teh Forth will something went wrong!';
}
echo $destiny;
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CiRyYW5kID0gJyc7CmZvciAoICRpPTA7ICRpIDwgNjsgJGkrKyApIHsKICAgICRyYW5kIC49IG10X3JhbmQoMCwgOSk7Cn0KLyplY2hvICRyYW5kLic8YnIgLz4nOyovCgokbGFzdE51bWJlciA9ICRyYW5kICUgMTA7CgovKmVjaG8gJGxhc3ROdW1iZXIuJzxiciAvPic7Ki8KJGRlc3RpbnkgPSAnVSByLi4gJzsKZWNobyAiVSd2ZSBqdXN0IHJvbGwgZm9yIHVyIGRlc3Rpbnk8aHIvPiI7CnN3aXRjaCAoJGxhc3ROdW1iZXIpIHsKICAgIGNhc2UgKDApIDoKICAgICAgICAkZGVzdGlueSAuPScgLSB3YXJyaW9yIGpld2RpJzticmVhazsKICAgIGNhc2UgKDEpIDoKICAgICAgICAkZGVzdGlueSAuPScgLSBtYXJhdWRlciBzaXRoJzticmVhazsKICAgIGNhc2UgKDIpIDoKICAgICAgICAkZGVzdGlueSAuPScgLSBjb25jdWxhciBqZXdkaSc7YnJlYWs7CiAgICBjYXNlICgzKSA6CiAgICAgICAgJGRlc3RpbnkgLj0nIC0gZm9ydGggd2hvcmUg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