ID: 35581 Updated by: [EMAIL PROTECTED] Reported By: schoos at xs4all dot nl -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: windows PHP Version: 5.1.1 New Comment:
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. See bug #31347 Previous Comments: ------------------------------------------------------------------------ [2005-12-07 12:45:22] schoos at xs4all dot nl Description: ------------ if you pass a string in file_exists larger than 219 chars it will always result in a TRUE result Reproduce code: --------------- if (file_exists( '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789' )) { echo "true<br>"; } else { echo "false<br>"; } Expected result: ---------------- false Actual result: -------------- true ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35581&edit=1