3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(1 % 10000); var_dump(9999 % 10000); var_dump(10000 % 10000); var_dump(10010 % 10000); var_dump(100 % 10000);
based on p5mY6
Output for 4.3.0 - 7.2.0
int(1) int(9999) int(0) int(10) int(100)