angeo
answered Jul 21 '21 00:00
$$ can be used for to make value of variable as variable
$data='hello';
$hello='data';
echo $$data;
it will print hello
because $$data=$($data)=$hello and $hello which is data
$$var means $($var) is $var 's value is getting used as variable now .
it will help in where complex programm.