Call a user function given by the first parameter in PHP by NicholasPhillips May 9, 2015 // Call a class method outside the class call_user_func(array($myclass, $mymethod), $args); // Call a class method inside the class call_user_func(array($this, $mymethod), $args); //or $this->{$mymethod}($args); Tags:call_user_funcmethodphp