Annotation of embedaddon/php/ext/reflection/tests/018.phpt, revision 1.1
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: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>