xref: /PHP-5.4/ext/reflection/tests/018.phpt (revision 610c7fbe)
1--TEST--
2Reflection::getModifierNames
3--SKIPIF--
4<?php extension_loaded('reflection') or die('skip'); ?>
5--FILE--
6<?php
7var_dump(Reflection::getModifierNames(ReflectionMethod::IS_FINAL | ReflectionMethod::IS_PROTECTED));
8?>
9--EXPECT--
10array(2) {
11  [0]=>
12  string(5) "final"
13  [1]=>
14  string(9) "protected"
15}
16