3v4l.org

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