When you start creating advanced applications that require different types of data that may be defined by a developer using your system you come across a very interesting issue.
Dynamic Variables...
They are quite easy to master, just look at the below example.
CODE:
-
$foo = 'howdy';
-
$$foo = 'not howdy';
-
-
echo $$foo; //should return not howdy
Learn more by going here:
http://www.php.net/manual/en/language.variables.variable.php