php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

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

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

foreach($files as $f)
    file_exists($files); 

echo 'Complete';

Expected result:
----------------
Complete

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'.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

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-2020 The PHP Group
All rights reserved.
Last updated: Thu Oct 29 08:01:25 2020 UTC