php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #31897 Lacks a description of what is does and how to use it.
Submitted: 2005-02-09 15:23 UTC Modified: 2005-02-09 17:28 UTC
From: alan at ridersite dot org Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.3.10 OS: BSD
Private report: No CVE-ID: None
 [2005-02-09 15:23 UTC] alan at ridersite dot org
Description:
------------
The description simply refers you to stream_set_timeout, which 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().  




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-09 17:28 UTC] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=13dae10e907d28c59e757c22681b8cdeb636e9b9
Log: fix #31897: expand description and improve example
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 22:00:02 2025 UTC