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