What is difference between $x and $$x

Answer Posted / muzic

$x is a simple variable whereas $$x is a reference variable.

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What can php do?

540


How to create an empty array in php?

575


How to receive a cookie from the browser?

554


Write a program in php to print a table of a number?

502


What is php regular expression?

498






Tell me can the value of a constant change during the script's execution?

569


Write an example to remove html tags from a string in php?

517


What are sql injections, how do you prevent them and what are the best practices?

496


How do you destroy a session?

498


Tell me how is it possible to propagate a session id?

599


How to increase the maximum execution time of a script in php?

524


What is the purpose of the '.frm' file extension? What do thes file contain?

504


What's the difference between __sleep and __wakeup?

544


What is the use of $_server and $_env?

559


How to repeat a string to a specific number of times in php?

522