According to the docs
should return false if a header request fails.
However, it is breaking my code w/ this warning:
Warning: get_headers(http://ideone.com/) [function.get-headers]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in some.php on line 21
I wanted to test that a given url was available using code similar to this:
$res[$i] = (get_headers($temp[$i]) == false);