3v4l.org

run code in 300+ PHP versions simultaneously
<?php function findFamily($n) { print_r(FindFamily(533)); } print_r(FindFamily(533)); ?>
Output for 7.0.0, 7.0.3, 7.0.6 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.3, 7.2.5 - 7.2.26, 7.3.0 - 7.3.13, 8.1.28, 8.2.18, 8.3.5 - 8.3.6
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 262144 bytes) in /in/MmVBj on line 3
Process exited with code 255.
Output for 8.2.15 - 8.2.17, 8.3.2 - 8.3.4
Fatal error: Out of memory (allocated 31457280 bytes) (tried to allocate 262144 bytes) in /in/MmVBj on line 3 mmap() failed: [12] Cannot allocate memory mmap() failed: [12] Cannot allocate memory
Process exited with code 255.
Output for 7.4.0 - 7.4.1

Process exited with code 139.
Output for 5.6.11 - 5.6.13, 5.6.26, 5.6.31, 7.0.1 - 7.0.2, 7.0.4 - 7.0.5, 7.2.4

Process exited with code 137.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.10, 5.6.14 - 5.6.25, 5.6.27 - 5.6.30, 5.6.32 - 5.6.40
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /in/MmVBj on line 3
Process exited with code 255.

preferences:
161.96 ms | 402 KiB | 206 Q