get_last_response_url
get_last_response_url($num=-1); - gets the last url received by the browser. When when tracking the browser's RAW exchange is enabled, all URLs received by the browser are included in the list of received URLs. The list has a limited size. By default, this is 100 items. Change this size with the set_arrays_count. The most recent item is stored at the end of the list. As the list fills up, if the maximum length is exceeded, the very first item in the list is deleted.
the input Function accepts parameters:
$num – the url number in the list of received URLs. (for $num-1, the last element of the list is taken)
After testing, the function returns the result of its work to the script :
url received by the browser – the specified url received from the list of saved URLs
false – there is no such element in the array