3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(!!(0.0/0)); var_dump((0.0/0));
based on iC2gZ
Output for 8.0.0
Fatal error: Uncaught DivisionByZeroError: Division by zero in /in/cospV:3 Stack trace: #0 {main} thrown in /in/cospV on line 3
Process exited with code 255.
Output for 7.1.25 - 7.1.28, 7.2.0 - 7.2.33, 7.3.0 - 7.3.24, 7.4.0 - 7.4.12
Warning: Division by zero in /in/cospV on line 3 bool(true) Warning: Division by zero in /in/cospV on line 4 float(NAN)