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