1--TEST--
2ReflectionClassConstant::isDeprecated() with userland constants.
3--FILE--
4<?php
5
6class Clazz {
7	#[\Deprecated]
8	public const TEST = 'test';
9}
10
11
12$r = new ReflectionClassConstant('Clazz', 'TEST');
13var_dump($r->isDeprecated());
14
15?>
16--EXPECTF--
17bool(true)
18