3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(intdiv(10, 3), 10 / 3);
based on qtYS2
Output for 7.0.0 - 7.2.0
int(3) float(3.3333333333333)
Output for 5.3.21 - 5.6.28
Fatal error: Call to undefined function intdiv() in /in/VPWjm on line 3
Process exited with code 255.