$message vs. $$message in PHP.« Back to Questions List

Posted by admin
Asked on October 26, 2015 10:05 am
0

$message is a variable with a fixed name. $$message is a variable whose name is stored in $message.

If $message contains ”var”, $$message is the same as $var.

Posted by admin
Answered On October 26, 2015 10:06 am