3v4l.org

run code in 500+ PHP versions simultaneously
<?php $price = 15000; $quantity = 2; $total = $price * $quantity; echo "義歯の単価:" . $price . "円<br>"; echo "数量:" . $quantity . "個<br>"; echo "合計金額:" . $total . "円"; ?>
Output for 8.2.0 - 8.2.34, 8.3.0 - 8.3.35, 8.4.1 - 8.4.26, 8.5.0 - 8.5.11
義歯の単価:15000円<br>数量:2個<br>合計金額:30000円

preferences:
27.29 ms | 1151 KiB | 7 Q