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
<? 義歯の単価:15000円<br>数量:2個<br>合計金額:30000円
Output for 8.5.0 - 8.5.11
Parse error: syntax error, unexpected token "<", expecting end of file in /in/sC76L on line 1
Process exited with code 255.

preferences:
27.6 ms | 1154 KiB | 8 Q