|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10564 feof bug isn't fixed in windows versions.
Submitted: 2001-04-30 13:26 UTC Modified: 2001-11-14 06:38 UTC
From: tarik_rahmanovic at nai dot com Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.4pl1 OS: win NT 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: tarik_rahmanovic at nai dot com
New email:
PHP Version: OS:


 [2001-04-30 13:26 UTC] tarik_rahmanovic at nai dot com
    while (!feof($sock)) {
        echo fgets ($sock, 128);
    fclose ($sock);

This hangs forever, even though remote end closes connection
within 120 miliseconds.  this is a known bug (discussed on the list), but the fix apperently didn't make it into the prepackaged windows release.  Please do let me know when this is fixed, for i need it more than i need cocaine (and i really really need cocaine) thank you.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-23 14:29 UTC]
Can you try the latest version (4.0.6) or a dev-version (from
 [2001-11-14 06:38 UTC]
No feedback. Closing.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 08 01:03:53 2023 UTC