3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(intdiv("3.34e3", 1), +"3.34e3", "3.34e3" % 10000);
based on uA06U
Output for 7.1.0 - 7.2.0
int(3340) float(3340) int(3340)
Output for 7.0.0 - 7.0.20
int(3340) float(3340) int(3)
Output for 5.2.3 - 5.6.28
Fatal error: Call to undefined function intdiv() in /in/pXc0R on line 3
Process exited with code 255.
Output for 5.0.0 - 5.2.2
<br /> <b>Fatal error</b>: Call to undefined function intdiv() in <b>/in/pXc0R</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: intdiv() in <b>/in/pXc0R</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: intdiv() in <b>/in/pXc0R</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: intdiv() in <b>/in/pXc0R</b> on line <b>3</b><br />