ID: 25880 Updated by: [EMAIL PROTECTED] Reported By: mpilipenko at ukr dot net -Status: Open +Status: Closed Bug Type: *Directory/Filesystem functions Operating System: Windows 2000 Pro +SP4 PHP Version: 4.3.3 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-10-15 09:22:00] mpilipenko at ukr dot net Description: ------------ Function file_exists() returns TRUE on non-existing files. Tested on Windows 2000 Pro +SP4, Apache 1.3.27 & PHP 4.3.1, 4.3.3, 4.3.4RC1 Reproduce code: --------------- <? var_dump(file_exists("con")); var_dump(file_exists("con.[anything_you_want]")); ?> Expected result: ---------------- false false Actual result: -------------- true true ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25880&edit=1