3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Abusive script

This script was stopped while abusing our resources

Output for 8.3.0 - 8.3.11
Fatal error: Uncaught TypeError: Cannot access offset of type array in isset or empty in /in/EpP2L:19 Stack trace: #0 {main} thrown in /in/EpP2L on line 19
Process exited with code 255.
Output for 8.0.0 - 8.0.3, 8.1.24 - 8.1.29, 8.2.11 - 8.2.23
Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /in/EpP2L:19 Stack trace: #0 {main} thrown in /in/EpP2L on line 19
Process exited with code 255.
Output for 7.4.0 - 7.4.16

Process exited with code 137.
Output for 7.3.0 - 7.3.28
Fatal error: Uncaught ErrorException: Illegal offset type in isset or empty in /in/EpP2L:19 Stack trace: #0 /in/EpP2L(19): handle(2, 'Illegal offset ...', '/in/EpP2L', 19, Array) #1 {main} thrown in /in/EpP2L on line 19
Process exited with code 255.

preferences:
75.25 ms | 414 KiB | 5 Q