xref: /PHP-8.3/ext/reflection/tests/018.phpt (revision 17ccbeec)
1--TEST--
2Reflection::getModifierNames
3--FILE--
4<?php
5var_dump(Reflection::getModifierNames(ReflectionMethod::IS_FINAL | ReflectionMethod::IS_PROTECTED));
6?>
7--EXPECT--
8array(2) {
9  [0]=>
10  string(5) "final"
11  [1]=>
12  string(9) "protected"
13}
14