I use eval() in my current project like this:
eval()
if (class_exists($class_name)) //$class_name depends on user input eval($class_name.\'::MyStat
I'd suggest call_user_func.
An alternative to call_user_func() would be calling it like this:
call_user_func()
$class_and_method = 'Class::MyStaticMethod()'; $class_and_method();