Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. root@xxx:~# cat test.php
  2. <?php
  3.  
  4. var_dump(glob('my_dns_test_folder/*.dns'));
  5. root@xxx:~# ls my_dns_test_folder/
  6. documentation__which_never_exists.md  noideaB.dns  zoneA.dns
  7. root@xxx:~# php test.php
  8. array(2) {
  9.   [0]=>
  10.   string(30) "my_dns_test_folder/noideaB.dns"
  11.   [1]=>
  12.   string(28) "my_dns_test_folder/zoneA.dns"
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement