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"; $points = floatval($new_rate) * 100; //lets make offers worth $1.20 appear as 120 points. echo $points; ?>
based on 9GL9J
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.11
1.64 164