I want to call a class object, being the class name a given parameter
- by user216040
Hi,
I want to do something like this: (in php)
$a = "class_name1";
$b = "class_name2";
$object1 = new $a;
$object2 = new $b
is this possible?
thank you very much for your time