Documentation -

Use, port)


Returns the amount of time in milliseconds it takes for your site to contact the given hostname and get a response. If it fails or takes too long, FALSE is returned. Supplying a port is optional and it defaults to 80 if none is given.

NOTE: Keep in mind it takes hostnames and not URLs. Having http://www. will fail.

Example ="") ="", "8080")