ID: 38276 Updated by: [EMAIL PROTECTED] Reported By: bjoernhaeuser at googlemail dot com -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Windows PHP Version: 5.2. (latest) New Comment:
Does 4.4.3 work for you? Previous Comments: ------------------------------------------------------------------------ [2006-08-04 13:49:50] bjoernhaeuser at googlemail dot com Well I am getting this: D:\php5.2-cvs>php -v PHP 5.2.0RC2-dev (cli) (built: Aug 4 2006 12:21:08) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies D:\php5.2-cvs>php -r "var_dump(file_exists(str_repeat('a', 246)));" bool(true) D:\php5.2-cvs>php -r "var_dump(file_exists(str_repeat('a', 245)));" bool(false) So, its not fixed. ------------------------------------------------------------------------ [2006-08-03 14:18:01] [EMAIL PROTECTED] This bug has been fixed in CVS. 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/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2006-08-03 14:06:50] bjoernhaeuser at googlemail dot com I have just checked some more and found this: D:\php5.2-win32-latest>php -r "var_dump(file_exists(str_repeat('a', 236)));" bool(false) D:\php5.2-win32-latest>php -r "var_dump(file_exists(str_repeat('a', 237)));" bool(true) file_exists works here incorrectly with filenames > 236 Yours sincerely ------------------------------------------------------------------------ [2006-08-03 13:56:12] bjoernhaeuser at googlemail dot com Sorry for my late answer. I am getting this with the latest snapshot: D:\php5.2-win32-latest>php -v PHP 5.2.0RC2-dev (cli) (built: Aug 3 2006 12:21:14) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies D:\php5.2-win32-latest>php -r "var_dump(file_exists(str_repeat('a', 10000)));" bool(true) D:\php5.2-win32-latest>php -r "var_dump(file_exists(str_repeat('a', 255)));" bool(true) file_exists works here totally incorrect. Yours sincerely ------------------------------------------------------------------------ [2006-07-31 21:42:40] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38276 -- Edit this bug report at http://bugs.php.net/?id=38276&edit=1