$url = 'https://z1.fm/download/4866738?play=on';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_NOBODY, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_AUTOREFERER, 1);
curl_setopt($ch,CURLOPT_HEADER,false);
$response = curl_exec($ch);
$target = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);
curl_close($ch);
echo $target; //http://muz5.zf.fm/1/fe/leningrad_-_pid__asi_(zf.fm).mp3?download=force