3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $rate = 80; $total_offer_pay = 2.05; $new_rate = ($rate / 100) * $total_offer_pay; echo $new_rate."\n"; $mycut = $total_offer_pay - $new_rate; $points = floatval($new_rate) * 100; //lets make offers worth $1.20 appear as 120 points. echo $points."\n"; echo $mycut; ?>
based on AOMLK
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
1.64 164 0.41