--TEST-- Dynamic class name in new is supported --FILE-- --EXPECT-- object(Foo)#1 (0) { }