Call a user function given by the first parameter in PHP
// 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);