php – Taking only the attribute "src"

in my system, it should take only the attribute "src" in a variable and add a new one, the following example:

//



$ iFrame = $ _POST['vid_iframe'];

How would you get what's in the "src"? I tried to use a shine but it did not work.