Jump to Navigation

206 - Meaning $$ in PHP

<?PHP
$a_string = "This is a test.";
$a_var = "a_string";

echo $$a_var;
?>

Output :

This is a test.

 



Main menu 2

Story | by Dr. Radut