$var = "value"; $value = "some value"; echo $$var;
For some insane reason PHP allows you to have variable variables.. if you ever use these you should probably be prohibited from using a computer again