php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2128 file_exists - opendir not working in fast loop
Submitted: 1999-08-23 04:35 UTC Modified: 1999-08-24 12:33 UTC
From: tom dot weber at rtl dot lu Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.12 OS: Linux 2.2.7
Private report: No CVE-ID: None
 [1999-08-23 04:35 UTC] tom dot weber at rtl dot lu
During a wait for eof loop on a non-blocking stream,
both functions to check if a file exist report false
but the file exists, to clear the file cache on every
loop does not change anything,
also the usleep function does not wait the given
anmount of time, while the sleep function does it
correctly. Also using this function, both file functions
still do not reply correctly

It is a standard PHP3 configuration, no extra modules
(if somebody needs a cut-out of the code, mail)
Tom

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-24 12:33 UTC] sas at cvs dot php dot net
from the submitter:

>   About the Bug i mentioned, I am not able to reproduce it
>   so I guess it might be some kind of an error of my part
>   so I guess You can close this Bug Description...

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 18:00:02 2026 UTC