fork(2) download
  1. <?рhp
  2. $anonDice1 = mt_rand (1, 6);
  3. $anonDice2 = mt_rand (1, 6);
  4. $compDice1 = mt_rand (1, 6);
  5. $compDice2 = mt_rand (1, 6);
  6. echo "У анона выпало {$anonDice1} и {$anonDice2} \n У компьютера выпало {$compDice1} и {$compDice2}\n";
  7.  
  8. ?>
Success #stdin #stdout 0.01s 52488KB
stdin
Standard input is empty
stdout
<?рhp
error_reporting(-1) ;
$anonDice1 = mt_rand (1, 6);
$anonDice2 = mt_rand (1, 6);
$compDice1 = mt_rand (1, 6);
$compDice2 = mt_rand (1, 6);
echo "У анона выпало {$anonDice1} и {$anonDice2} \n У компьютера выпало {$compDice1} и {$compDice2}\n";

?>