What is the difference between $message and $$message?

Asked: Apr 15, 2023
$message $$message
$message is a regular variable. $$message is a reference variable.
It has a fixed name and stores a fixed value. It stores data about the variable.
Data stored in the $message is fixed. The value of the $$message can change dynamically as the value of the variable changes.
Asked by brijesh

Answers (0)

No answers yet. Be the first to answer!