Is it possible to dynamically instantiate a class using a variable? For example is something like this possible in PHP?
class foo { public $something; }
Yes of course you can instantiate using dynamic names;