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