3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = "test" * 60; echo $x;
Output for 8.0.30, 8.1.0 - 8.1.33, 8.2.0 - 8.2.29, 8.3.0 - 8.3.26, 8.4.1 - 8.4.13
Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /in/EfKra:3 Stack trace: #0 {main} thrown in /in/EfKra on line 3
Process exited with code 255.
Output for 5.4.45
0

preferences:
66.02 ms | 406 KiB | 5 Q