Both $message and $$message are variables in PHP and the difference lies in the name. While $message is a variable with a fixed name, $$message is a variable with a name that is actually stored in $message.
Consider the following example:
If $message consists of ‘var’, then $$message is nothing but ‘$var’.
Next up on these core PHP interview questions, you have to know a very important difference in PHP.