|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-08-09 10:50 UTC] mahesh dot vemula at in dot ibm dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 08:00:02 2025 UTC |
Description: ------------ file_exists() function behavior on PHP6 differs with PHP5 for the filenames containing wild-card char(*). PHP6 always returns TRUE for the file name with "*", and matches any file with the filename containing wild-card char(*). This is happening only for Windows. Reproduce code: --------------- <?php var_dump( file_exists("*") ); ?> Expected result: ---------------- bool(false) Actual result: -------------- bool(true)