3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(glob('/etc/*'));
Output for 7.4.27 - 7.4.32, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Array ( [0] => /etc/arch-release [1] => /etc/crypttab [2] => /etc/fstab [3] => /etc/group [4] => /etc/gshadow [5] => /etc/host.conf [6] => /etc/hosts [7] => /etc/issue [8] => /etc/ld.so.conf [9] => /etc/ld.so.conf.d [10] => /etc/motd [11] => /etc/nsswitch.conf [12] => /etc/pacman.d [13] => /etc/passwd [14] => /etc/php.ini [15] => /etc/php_archive.ini [16] => /etc/profile [17] => /etc/profile.d [18] => /etc/protocols [19] => /etc/resolv.conf [20] => /etc/securetty [21] => /etc/services [22] => /etc/shadow [23] => /etc/shells [24] => /etc/skel )
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.26, 8.0.0 - 8.0.13
Array ( [0] => /etc/arch-release [1] => /etc/crypttab [2] => /etc/fstab [3] => /etc/group [4] => /etc/gshadow [5] => /etc/host.conf [6] => /etc/hosts [7] => /etc/issue [8] => /etc/ld.so.conf [9] => /etc/ld.so.conf.d [10] => /etc/motd [11] => /etc/mtab [12] => /etc/nsswitch.conf [13] => /etc/pacman.d [14] => /etc/passwd [15] => /etc/profile [16] => /etc/profile.d [17] => /etc/protocols [18] => /etc/resolv.conf [19] => /etc/securetty [20] => /etc/services [21] => /etc/shadow [22] => /etc/shells [23] => /etc/skel )
Output for 7.4.33
Array ( [0] => /etc/arch-release [1] => /etc/crypttab [2] => /etc/fstab [3] => /etc/group [4] => /etc/gshadow [5] => /etc/host.conf [6] => /etc/hosts [7] => /etc/issue [8] => /etc/ld.so.conf [9] => /etc/ld.so.conf.d [10] => /etc/motd [11] => /etc/mtab [12] => /etc/nsswitch.conf [13] => /etc/pacman.d [14] => /etc/passwd [15] => /etc/php.ini [16] => /etc/php_archive.ini [17] => /etc/profile [18] => /etc/profile.d [19] => /etc/protocols [20] => /etc/resolv.conf [21] => /etc/securetty [22] => /etc/services [23] => /etc/shadow [24] => /etc/shells [25] => /etc/skel )

preferences:
304.81 ms | 403 KiB | 468 Q