Question and answer is powered by AnsPress.io
$var = ‘foo’;
$$var = ‘bar’;
echo $foo;
What will be the output?
$$name.it dynamic variable. let support you have country value in name variable.so you can call it like this.echo $country.