I\'m trying to make some kind of function that loads and instantiates a class from a given variable. Something like this:
Off the top of my head, needs testing, validation etc:
newInstanceArgs(); $GLOBALS[$className] = $classObj; } } ?>