1--TEST--
2ReflectionMethod::isDeprecated(): Implementing a deprecated abstract method.
3--FILE--
4<?php
5
6abstract class P {
7	#[\Deprecated]
8	abstract function test();
9}
10
11class Clazz extends P {
12	function test() {
13	}
14}
15
16
17$c = new Clazz();
18$c->test();
19
20$r = new ReflectionMethod('P', 'test');
21var_dump($r->isDeprecated());
22
23$r = new ReflectionMethod('Clazz', 'test');
24var_dump($r->isDeprecated());
25
26?>
27--EXPECTF--
28bool(true)
29bool(false)
30