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

How are sessions maintained?

545


How come the code works, but doesn’t for two-dimensional array of mine?

605


What is basename php?

519


What are the different data types in javascript?

522


Which is better php or wordpress?

521






What is uri routing?

525


Is php difficult to learn?

515


What does $_env mean?

573


What is strlen php?

545


What is the content of /etc directory?

566


What are string functions?

508


How many types of errors in php?

568


What is a static method php?

518


How to use http headers inside php?

572


What is the php function that removes the first element of the array and returns it?

519