php-src/ext/reflection/tests/018.phpt

16 lines
311 B
Plaintext
Raw Normal View History

--TEST--
Reflection::getModifierNames
2007-04-12 12:43:54 +00:00
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
var_dump(Reflection::getModifierNames(ReflectionMethod::IS_FINAL | ReflectionMethod::IS_PROTECTED));
?>
--EXPECT--
array(2) {
[0]=>
unicode(5) "final"
[1]=>
unicode(9) "protected"
}