test.php 141 B

123456789
  1. <?php
  2. //error handling
  3. ini_set('display_errors', 1);
  4. error_reporting(E_ALL);
  5. $dirs = array_filter(glob('*'), 'is_dir');
  6. print_r( $dirs);
  7. ?>