<?php
var_dump(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(25) {
[0]=>
string(17) "/etc/arch-release"
[1]=>
string(13) "/etc/crypttab"
[2]=>
string(10) "/etc/fstab"
[3]=>
string(10) "/etc/group"
[4]=>
string(12) "/etc/gshadow"
[5]=>
string(14) "/etc/host.conf"
[6]=>
string(10) "/etc/hosts"
[7]=>
string(10) "/etc/issue"
[8]=>
string(15) "/etc/ld.so.conf"
[9]=>
string(17) "/etc/ld.so.conf.d"
[10]=>
string(9) "/etc/motd"
[11]=>
string(18) "/etc/nsswitch.conf"
[12]=>
string(13) "/etc/pacman.d"
[13]=>
string(11) "/etc/passwd"
[14]=>
string(12) "/etc/php.ini"
[15]=>
string(20) "/etc/php_archive.ini"
[16]=>
string(12) "/etc/profile"
[17]=>
string(14) "/etc/profile.d"
[18]=>
string(14) "/etc/protocols"
[19]=>
string(16) "/etc/resolv.conf"
[20]=>
string(14) "/etc/securetty"
[21]=>
string(13) "/etc/services"
[22]=>
string(11) "/etc/shadow"
[23]=>
string(11) "/etc/shells"
[24]=>
string(9) "/etc/skel"
}
- Output for 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(24) {
[0]=>
string(17) "/etc/arch-release"
[1]=>
string(13) "/etc/crypttab"
[2]=>
string(10) "/etc/fstab"
[3]=>
string(10) "/etc/group"
[4]=>
string(12) "/etc/gshadow"
[5]=>
string(14) "/etc/host.conf"
[6]=>
string(10) "/etc/hosts"
[7]=>
string(10) "/etc/issue"
[8]=>
string(15) "/etc/ld.so.conf"
[9]=>
string(17) "/etc/ld.so.conf.d"
[10]=>
string(9) "/etc/motd"
[11]=>
string(9) "/etc/mtab"
[12]=>
string(18) "/etc/nsswitch.conf"
[13]=>
string(13) "/etc/pacman.d"
[14]=>
string(11) "/etc/passwd"
[15]=>
string(12) "/etc/profile"
[16]=>
string(14) "/etc/profile.d"
[17]=>
string(14) "/etc/protocols"
[18]=>
string(16) "/etc/resolv.conf"
[19]=>
string(14) "/etc/securetty"
[20]=>
string(13) "/etc/services"
[21]=>
string(11) "/etc/shadow"
[22]=>
string(11) "/etc/shells"
[23]=>
string(9) "/etc/skel"
}
- Output for 7.4.33
- array(26) {
[0]=>
string(17) "/etc/arch-release"
[1]=>
string(13) "/etc/crypttab"
[2]=>
string(10) "/etc/fstab"
[3]=>
string(10) "/etc/group"
[4]=>
string(12) "/etc/gshadow"
[5]=>
string(14) "/etc/host.conf"
[6]=>
string(10) "/etc/hosts"
[7]=>
string(10) "/etc/issue"
[8]=>
string(15) "/etc/ld.so.conf"
[9]=>
string(17) "/etc/ld.so.conf.d"
[10]=>
string(9) "/etc/motd"
[11]=>
string(9) "/etc/mtab"
[12]=>
string(18) "/etc/nsswitch.conf"
[13]=>
string(13) "/etc/pacman.d"
[14]=>
string(11) "/etc/passwd"
[15]=>
string(12) "/etc/php.ini"
[16]=>
string(20) "/etc/php_archive.ini"
[17]=>
string(12) "/etc/profile"
[18]=>
string(14) "/etc/profile.d"
[19]=>
string(14) "/etc/protocols"
[20]=>
string(16) "/etc/resolv.conf"
[21]=>
string(14) "/etc/securetty"
[22]=>
string(13) "/etc/services"
[23]=>
string(11) "/etc/shadow"
[24]=>
string(11) "/etc/shells"
[25]=>
string(9) "/etc/skel"
}
preferences:
326.11 ms | 403 KiB | 415 Q