--TEST-- ReflectionMethod::createFromMethodName() --FILE-- getMessage() . "\n"; } ?> --EXPECTF-- object(MyReflectionMethod)#%d (%d) { ["name"]=> string(3) "bar" ["class"]=> string(3) "Foo" } Method Foo::baz() does not exist