Return to 018.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / reflection / tests |
1.1 misho 1: --TEST-- 2: Reflection::getModifierNames 3: --SKIPIF-- 4: <?php extension_loaded('reflection') or die('skip'); ?> 5: --FILE-- 6: <?php 7: var_dump(Reflection::getModifierNames(ReflectionMethod::IS_FINAL | ReflectionMethod::IS_PROTECTED)); 8: ?> 9: --EXPECT-- 10: array(2) { 11: [0]=> 12: string(5) "final" 13: [1]=> 14: string(9) "protected" 15: }