Print specific part from an URL by php
I would like to print only specific part from an Url like for example if i got on response an URL like this : https://tvoauth.zapi.com/?client=zapi-web-1&session=XRpC8tmn2_VUz6temt_j19BIGymiYyd5ZOLoWtp1H5U&scopes=false&redirect=https%3A%2F%2Ftv.zapi.com I want to print only this part exactly : XRpC8tmn2_VUz6temt_j19BIGymiYyd5ZOLoWtp1H5U I have tried to use…