3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tea = 20; $tip = 0.05; $tep = 0.1; $tia = 0; $aat = 239.05; var_dump(($aat * (1 + $tip)) - ($tep * $tia) - ($tea * (1 + $tip)), 1 + $tip + $tep); //echo ($aat * (1 + $tip)) - ($tep * $tia) - ($tea * (1 + $tip)) / 1 + $tip + $tep;
based on eZSXN
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
float(230.0025) float(1.15)