|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31 file read times out
Submitted: 1998-02-03 09:26 UTC Modified: 1998-02-03 11:27 UTC
From: dhancock at arinc dot com Assigned:
Status: Closed Package: Performance problem
PHP Version: 3.0b4 OS: Windows 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: dhancock at arinc dot com
New email:
PHP Version: OS:


 [1998-02-03 09:26 UTC] dhancock at arinc dot com
The following script:

$maxline = 10000;
$file = fopen("foo.txt", "r");
while (!feof($file)) {
    if ($line = chop(fgets($file,$maxline))) {
        echo $line, "\n";

works fine on php3.0b3 for Win32, but on php3.0b4, I
get a 5-second delay, then a warning that php has timed

This is with php3.0b4 as downloaded from  I'm not
modifying php3.ini in any way, and the only differences
between the ini files for the two versions is on the last
line (browsercap.ini).

My data file (foo.txt) looks like this (although it
shouldn't matter):


I'm definitely new to PHP, so feel free to point me
to any resource I need to understand this.  I really
think this looks like a bug, but I won't discount the
possibility that it's a PEBCAK (problem exists between
chair and keyboard).

David Hancock |


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-03 11:27 UTC] shane
This is fixed now.
 [2019-10-01 15:28 UTC]
Automatic comment on behalf of
Log: Fix #31: Cleanup assumes wrong Opcache base address filename
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Oct 04 19:05:52 2022 UTC