<?php class a {} class b {} class c {} class foo {} $temp = "foo"; $x = new $temp(new a(new b(new c))); var_dump($x);
You have javascript disabled. You will not be able to edit any code.