3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $width = 2500 / 1000; $height = 1500 / 1000; $price = "£10.00"; $price_var = substr($price, 2); $quantity = (round($width,2)) * (round($height,2)); echo (round($quantity,2) * $price_var);
based on EgQD8
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
37.5