#42109 [Opn->Fbk]: frequent call file_exists() function
| From: | jani@php.net | Date: | Thu, 26 Jul 2007 09:22:12 +0000 |
| Subject: | #42109 [Opn->Fbk]: frequent call file_exists() function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-115458@lists.php.net to get a copy of this message | ||
ID: 42109
Updated by: jani@php.net
Reported By: dailu at mail dot ru
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: Windows XP SP2
PHP Version: 5.2.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2007-07-26 05:45:42] 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'.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42109&edit=1