adspace
Can you tell the difference between $message and $$message?
Answer Posted / Imran
In PHP, the variable $message is a normal variable that can store data. On the other hand, $$message is a variable that contains the name of another variable. This is called a 'variable variable'. When using $$message, you are essentially referring to the variable whose name is stored in $$message.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers