|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-02-21 13:09 UTC] [email protected]
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 31 03:00:01 2025 UTC |
Description: ------------ DIR functions (scandir, is_dir, etc.) do not recognize root UNC shares as valid directories, but work on subdirectories of the share. This problem surfaced after upgrading from 5.2.0 to 5.2.1 and is present in the latest snap (php5.2-win32-200702201130.zip). Reproduce code: --------------- If the share is //fs/misc, opendir("//fs/misc"); reports: Warning: scandir(//fs/misc) [function.scandir]: failed to open dir: No error in myscript.php on line 2 But opening a subdirectory like opendir("//fs/misc/docs"); works without error. Expected result: ---------------- No error. Actual result: -------------- Warning: scandir(//fs/misc) [function.scandir]: failed to open dir: No error in myscript.php on line 2