#38276 [Opn->Fbk]: file_exists works incorrectly with long filenames

From: Date: Mon, 31 Jul 2006 21:42:40 +0000
Subject: #38276 [Opn->Fbk]: file_exists works incorrectly with long filenames
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100162@lists.php.net to get a copy of this message
ID: 38276 Updated by: tony2001@php.net Reported By: bjoernhaeuser at googlemail dot com -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Windows PHP Version: 5.1.4 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2006-07-31 21:32:16] bjoernhaeuser at googlemail dot com Description: ------------ Hey Guys! Relating to: http://bugs.php.net/bug.php?id=31347 This Bug seems to be not fixed. Reproduce code: --------------- D:\>php -r "var_dump(file_exists(str_repeat('a', 10000)));" D:\>php -r "var_dump(file_exists(str_repeat('a', 255)));" Expected result: ---------------- file_exists should return false in both cases. Actual result: -------------- D:\>php -r "var_dump(file_exists(str_repeat('a', 10000)));" bool(true) D:\>php -r "var_dump(file_exists(str_repeat('a', 255)));" bool(false) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38276&edit=1

« previous php.bugs (#100162) next »