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

Answer Posted / sachin g kulkarni

$message is normal variable , where as $$message is
variable variable...That means you can access the value of
one variable with the name of the other variable......Hey
don't confuse this is not pointer of C. Pointer concept is
totally different from this

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me how is it possible to return a value from a function?

540


What is the use of magic function in php?

497


Explain some of the php string functions?

519


CWD is a type of shell variable. State Whether True or False?

563


What is the delimiter default in PHP?

602






What is "echo" in php?

527


What enctype is required for file uploads to work?

510


What is difference between web service and api?

504


How do you trim spaces in excel?

508


How can you compare objects in php?

496


Is it difficult to learn php?

528


What is the meaning of "enctype= multipart/form-data" ?

523


How do I debug php?

511


Is age interval or ordinal?

515


Tell me are parent constructors called implicitly inside a class constructor?

533