mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
14 lines
241 B
PHP
14 lines
241 B
PHP
--TEST--
|
|
Reflection::getModifierNames
|
|
--FILE--
|
|
<?php
|
|
var_dump(Reflection::getModifierNames(ReflectionMethod::IS_FINAL | ReflectionMethod::IS_PROTECTED));
|
|
?>
|
|
--EXPECT--
|
|
array(2) {
|
|
[0]=>
|
|
string(5) "final"
|
|
[1]=>
|
|
string(9) "protected"
|
|
}
|