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