1--TEST--
2ReflectionMethod::invoke() on an abstract method should fail
3--FILE--
4<?php
5
6abstract class Test {
7    abstract static function foo();
8}
9
10$rm = new ReflectionMethod('Test', 'foo');
11try {
12    var_dump($rm->invoke(null));
13} catch (ReflectionException $e) {
14    echo $e->getMessage(), "\n";
15}
16
17?>
18--EXPECT--
19Trying to invoke abstract method Test::foo()
20