|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: dailu at mail dot ru
New email:
PHP Version: OS:


 [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 07:01:24 2021 UTC