3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 12345678901245678901234567894 % 5; echo bcmod("12345678901245678901234567894", 5);
Output for 5.5.0 - 5.6.28, 7.0.0 - 7.1.0
34
Output for 4.3.0 - 5.0.1, 5.0.3 - 5.4.45, hhvm-3.10.0 - 3.12.0
04
Output for 5.0.2
24