Difference Between A Variable and Reference Variable in PHP | Usage of $a & $$a, PHP interview Ques.
Exmple:
$a = "b";
$b = 10;
print $$a; // Here $($a becomes b), because $a = "b" and then comes the outer $(b), which is $b, so the output is 10.
#php #phptutorial #phpscript