fork(8) download
  1. <?php
  2.  
  3. $number = mt_rand(0, 9);
  4. $lastDigit = $number % 10;
  5.  
  6. echo "твое пост под номером {$number}\nпоследняя цифра {$lastDigit}\nзначит ты"
  7.  
  8. if ($lastDigit == 0) {
  9. echo "ты лох";
  10. } elseif ($lastDigit == 1) {
  11. echo "ты пидор";
  12. } elseif ($lastDigit ==2) {
  13. echo "ты сдохнешь";
  14. } elseif ($lastDigit == 3) {
  15. echo "ты черт";
  16. } elseif ($lastDigit == 4) {
  17. echo "ты кот";
  18. } elseif ($lastDigit == 5) {
  19. echo "ты лал";
  20. } elseif ($lastDigit == 6) {
  21. echo "ты жуль";
  22. } elseif ($lastDigit == 7) {
  23. echo "ты пидор";
  24. } elseif ($lastDigit == 8) {
  25. echo "ты кура";
  26. } elseif ($lastDigit == 9) {
  27. echo "ты кака";
  28. } exit();
  29. ?>
Runtime error #stdin #stdout #stderr 0.01s 20592KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Parse error:  syntax error, unexpected 'if' (T_IF), expecting ',' or ';' in /home/mqeVPi/prog.php on line 9