Is there a way to find out if a method is static or not?
My reason for needing to know: I call static methods outside of any instantiation context. Non-static methods can't be called then, since they don't make sense yet. I want to call them later, once instances of those classes exist.
When I call call_user_function_array($className.'::'.$functionName, $args);
and the method is non-static, php seems to automatically create an instance of className and call that function. I want that call to FAIL for non-static functions.