|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-10-24 07:05 UTC] bugzilla77 at gmail dot com
Description: ------------ 1. Download Test script 2. Unzip 3. run test.php Test script: --------------- http://bugs.idsl.pl/php/glob.zip Expected result: ---------------- prints: 4 Actual result: -------------- prints: 1 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 06:00:02 2025 UTC |
The default behavior of glob is to *not* return hidden files. If you're looking to show specific hidden file types, you can use the following: <?php var_dump(glob('{,.}*', GLOB_BRACE)); ?> This will return files like ".hiddenfile".