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