get_web_page_code
get_web_page_code($url); - get the response code from the specified page. available from version 4.9.4
the function accepts parameters as input:
$url – address of the page to get the response code for
After testing, the function returns the result of its work to the script :
Response code – response code of the specified page