例子 1
<?php print_r(glob("*.txt")); ?>
输出类似:
Array ( [0] => target.txt [1] => source.txt [2] => test.txt [3] => test2.txt )
<?php print_r(glob("*.txt")); ?>
输出类似:
Array ( [0] => target.txt [1] => source.txt [2] => test.txt [3] => test2.txt )
转载于:https://www.cnblogs.com/hellowzd/p/4111557.html