|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-28 23:10 UTC] derick@php.net
[2004-12-28 23:19 UTC] as at mindcom dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 10 19:00:01 2025 UTC |
Description: ------------ glob() returns false on an empty dir, not an empty array as exspected. the latest snapshot does not fix it (Dec 28, 2004 21:30 GMT) Reproduce code: --------------- $files = glob("/some_empty_dir/*"); var_dump($files); Expected result: ---------------- array(0) { } Actual result: -------------- bool(false)