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

0
$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.
Php
asked Apr 15, 2023 at 00:43
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.