3v4l.org

run code in 300+ PHP versions simultaneously
<?php $insured_amount = 837 + 2.70 + ( intval( ceil((837-300)/100)) * 0.80); echo $insured_amount;

preferences:
45.47 ms | 402 KiB | 5 Q