3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(fmod(2000, 300)); var_dump(fmod(2000.23, 300)); var_dump(fmod(2000, 300.23)); var_dump(fmod(2000.23, 300.23));
based on IlSVa
Output for 4.3.0 - 7.2.0
float(200) float(200.23) float(198.62) float(198.85)