For calling static members you can use a code like this:
call_user_func("MyClass::my_static_method");// orcall_user_func(array("MyClass", "my_static_method"));
Unfortunately the only way to get static members from an object seems to be get_class_vars()
:
$vars = get_class_vars("MyClass");$vars['my_static_attribute'];