Ver originalclass Foo{ public function __construct($var) { echo $var; }} $class = 'Foo';new $class('hi');