Let's understand it with an example
Output would be :
As $a is a simple variable with the value "Please Test" . $xyz is another variable consist of "a", which is actually a message type for $xyz but ultimately a variable declared previously.
Now $$xyz , going to check what insde the variable $xyz and as there is "a", then it will take a as the variable and print whatever("Please Test") in it.
Please vote up if you like the answer