|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42109 frequent call file_exists() function
Submitted: 2007-07-26 05:45 UTC Modified: 2007-08-03 01:00 UTC
From: dailu at mail dot ru Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 5.2.3 OS: Windows XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
44 - 20 = ?
Subscribe to this entry?

 [2007-07-26 05:45 UTC] dailu at mail dot ru
frequent call file_exists() function

Reproduce code:
$db -> Query('SELECT `fullpath` FROM `files`);
$files = $db -> FetchAllRows();

foreach($files as $f)

echo 'Complete';

Expected result:

Actual result:
If files is not existed and theirs number more than 5, php is not show 'Complete'. If files is existed php show 'complete'.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-26 09:22 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2007-08-03 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Apr 11 17:01:27 2021 UTC