RE: [PHP-DEV] feof hangs (bug #25939)
| From: | Wez Furlong | Date: | Thu, 27 May 2004 13:08:31 +0000 |
| Subject: | RE: [PHP-DEV] feof hangs (bug #25939) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10110@lists.php.net to get a copy of this message | ||
I just fixed PHP 5, but can't see how 4.3 could hang (admittedly only looked
briefly).
I have to go out for a couple of hours; if you could track down where PHP is
blocking in the 4.3 branch, I'd very much appreciate it.
--Wez.
> -----Original Message-----
> From: Christian Schneider [mailto:cschneid@cschneid.com]
> Sent: 27 May 2004 13:39
> To: internals@lists.php.net
> Subject: [PHP-DEV] feof hangs (bug #25939)
>
> I tried to reopen bug #25939
> <http://bugs.php.net/bug.php?id=25939>
> because I ran into the same problem as <topace at lightbox
> dot org> but
> it's not my bug report. Should I open a new bug?
>
> I agree with the last comment that feof should not hang.
>
> Sample script:
> $fd = fsockopen('www.php.net', 80);
> feof($fd);
>
> This hangs for PHP >= 4.3.5 and PHP 5
>
> Regards,
> - Chris
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>