<?php class Foo{ public static function Bar(){ echo 'Bar'; } } $f = 'Foo::Bar'; if (is_callable($f)){ call_user_func($f); }
You have javascript disabled. You will not be able to edit any code.