fork download
  1. <?php
  2. $a = 10;
  3. $b = 10;
  4.  
  5. echo "penjumlahan: ". ($a + $b). "<br>";
  6. echo "pengurangan: ". ($a - $b). "<br>";
  7. echo "perkalian: ". ($a * $b). "<br>";
  8. echo "pembagian: ". ($a / $b). "<br>";
  9. ?>
Success #stdin #stdout 0.02s 25652KB
stdin
Standard input is empty
stdout
penjumlahan: 20<br>pengurangan: 0<br>perkalian: 100<br>pembagian: 1<br>