go to bug id or search bugs for
When doing a plain
fsockopen ("www.anyhost.com",$port,&$errno,&$errstr,$timeout) ...
and the nameserver for this host does not respond, is unreachable or at least extremely slow (host www.anyhost.com produces 'A record not found'), fsockopen won't return after $timeout (3secs for example)!
It hangs for at least 100-120 s.
Add a Patch
Add a Pull Request
Please upgrade to the latest version of PHP. Re-open if