为什么每当我使用scandir()时,我都会在数组的开头收到句点?
为什么每当我使用scandir()时,我都会在数组的开头收到句点?
Array
(
[0] => .
[1] => ..
[2] => bar.php
[3] => foo.txt
[4] => somedir
)
Array
(
[0] => somedir
[1] => foo.txt
[2] => bar.php
[3] => ..
[4] => .
)