Question and answer is powered by AnsPress.io
$var = ‘foo’;
$$var = ‘bar’;
What will be the output?
Its. Called single ($) doller and another called double ($$) doller in Php … The differenc is. In single doller ($) is a normal varible which stores any valuw like string,int,and float. In otherwords $$ (doube) dolller is unreference variable which store value of single $ inside it.