3v4l.org

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