ID: 38276
User updated by: bjoernhaeuser at googlemail dot com
Reported By: bjoernhaeuser at googlemail dot com
-Status: Feedback
+Status: Open
Bug Type: Filesystem function related
Operating System: Windows
-PHP Version: 5.1.4
+PHP Version: 5.2. (latest)
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[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