3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if ( ! function_exists('metersToMiles')) { function metersToMiles($meters, $round = 3) { return round($meters * 0.000621371, $round); } } $miles = "150297.609"; echo metersToMiles($miles, '1');
based on TI45A
Output for 4.3.0 - 7.2.0
93.4