You're missing the namespace:
$class = '\\MyBundleNamespace\\MyClass';$method = 'myFunction';
Both calls should work:
call_user_func("$class::$method");call_user_func(array($class, $method));