3v4l.org

run code in 300+ PHP versions simultaneously
<?php array_merge_recursive($GLOBALS,$GLOBALS) ;

Abusive script

This script was stopped while abusing our resources

Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.23, 8.3.0 - 8.3.11
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught Error: Recursion detected in /in/jj06B:2 Stack trace: #0 /in/jj06B(2): array_merge_recursive(Array, Array) #1 {main} thrown in /in/jj06B on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.29, 7.2.29 - 7.2.33, 7.3.16 - 7.3.33, 7.4.3 - 7.4.33
Warning: array_merge_recursive(): recursion detected in /in/jj06B on line 2
Output for 5.4.0 - 5.4.17
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /in/jj06B on line 2
Process exited with code 255.

preferences:
50.61 ms | 410 KiB | 5 Q