<?php class foo { } $name = 'foo'; $object = new $name(); var_dump( $object );
You have javascript disabled. You will not be able to edit any code.