Can PHP instantiate an object from the name of the class as a string?

Yep, definitely.

$className="MyClass";
$object = new $className; 

Leave a Comment