3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 5; $a = range(20,45); $b = fmod($a,$i); echo $b;
Output for 7.0.0 - 7.3.0rc3
Warning: fmod() expects parameter 1 to be float, array given in /in/mfbX8 on line 5
Output for 5.6.0 - 5.6.30, hhvm-3.15.4
Warning: fmod() expects parameter 1 to be double, array given in /in/mfbX8 on line 5