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