Which is better and why:
call_user_func(array($class, $method), $params);
or
$class::$method($params);
the second approach only works in PHP 5.3. I in older virsion in throws a fatal error unexpected T_PAAMAYIM_NEKUDOTAYIM. (my ide thinks its a syntax error, too. But it works)