3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $abc['baseA'] = '49'; $abc['baseB'] = '49'; $base_lvl = 10; $a = round((($abc['baseA']/10)/2)*$base_lvl); $b = round((($abc['baseB']/10)/2)*$base_lvl); echo $a.' '.$b;
Output for 4.3.0 - 7.1.0
25 25