--TEST-- ReflectionMethod::invoke() on an abstract method should fail --FILE-- invoke(null)); } catch (ReflectionException $e) { echo $e->getMessage(), "\n"; } ?> --EXPECT-- Trying to invoke abstract method Test::foo()