|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #31896 Lacks a description of what is does and how to use it.
Submitted: 2005-02-09 15:14 UTC Modified: 2005-02-09 15:26 UTC
From: alan at ridersite dot org Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.3.10 OS: bds
Private report: No CVE-ID: None
 [2005-02-09 15:14 UTC] alan at ridersite dot org
The description simply says "Sets the timeout value on stream, expressed in the sum of seconds and microseconds. "

That is obvious.  But, what does the function do when the timeout limit is reached? [e.g., does it post an error message?]

What do you test for? How do you use it?

The example is not informative.  If the source hangs on the fread(), the script will just hang and not get to the stream_get_meta_data().  


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-09 15:26 UTC]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Dup of #31897
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jul 29 13:01:23 2021 UTC