ID: 25880 Updated by: [EMAIL PROTECTED] Reported By: mpilipenko at ukr dot net -Status: Closed +Status: Bogus Bug Type: *Directory/Filesystem functions Operating System: Windows 2000 Pro +SP4 PHP Version: 4.3.3 New Comment:
Actually, not 'fixed'. "con" is special file in Windows (since DOS, iirc..) It would be strange if it didn't exist. 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