Something faster than get_headers()
问题 I'm trying to make a PHP script that will check the HTTP status of a website as fast as possible. I'm currently using get_headers() and running it in a loop of 200 random urls from mysql database. To check all 200 - it takes an average of 2m 48s. Is there anything I can do to make it (much) faster? (I know about fsockopen - It can check port 80 on 200 sites in 20s - but it's not the same as requesting the http status code because the server may responding on the port - but might not be