3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(floor(7/3,0));
Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.26, 8.2.0 - 8.2.13, 8.3.0
Fatal error: Uncaught ArgumentCountError: floor() expects exactly 1 argument, 2 given in /in/cgPpb:3 Stack trace: #0 /in/cgPpb(3): floor(2.3333333333333, 0) #1 {main} thrown in /in/cgPpb on line 3
Process exited with code 255.

preferences:
69.29 ms | 402 KiB | 76 Q