3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(intdiv(1999/10));
based on pEEho
Output for 8.0.0 - 8.0.2
Fatal error: Uncaught ArgumentCountError: intdiv() expects exactly 2 arguments, 1 given in /in/5Kj4R:3 Stack trace: #0 /in/5Kj4R(3): intdiv(199.9) #1 {main} thrown in /in/5Kj4R on line 3
Process exited with code 255.
Output for 7.3.0 - 7.3.27, 7.4.0 - 7.4.15
Warning: intdiv() expects exactly 2 parameters, 1 given in /in/5Kj4R on line 3 NULL