note 35816 deleted from function.stream-set-timeout by didou
| From: | didou@php.net | Date: | Wed, 17 Sep 2003 12:29:41 +0000 |
| Subject: | note 35816 deleted from function.stream-set-timeout by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56636@lists.php.net to get a copy of this message | ||
Note Submitter: some@one.nun
----
This does not seem to prevent hanging threads:
$fp=fsockopen('www.medicare.gov','80');
stream_set_timeout($fp,2);
echo ($fp?1111:1000);
This just seems to hang there past two seconds, any other URL, valid or not, will produce output...