|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-08-02 18:44 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 04:00:02 2025 UTC |
Description: ------------ When i set a timelimit for fsockopen() the script won't stop after the limit reaches. Reproduce code: --------------- if($fp = fsockopen($host, $port, &$errno, &$errnum, 2)) { ... } Expected result: ---------------- When the checked host is offline, the script reported that afetr 2 seconds. Actual result: -------------- The Script is stopping after 60 seconds.