1--TEST--
2Reflection::getModifierNames() basic
3--FILE--
4<?php
5
6function printModifiers($modifiers) {
7	echo implode(',', Reflection::getModifierNames($modifiers)), PHP_EOL;
8}
9
10printModifiers(ReflectionProperty::IS_PRIVATE);
11printModifiers(ReflectionProperty::IS_PROTECTED | ReflectionProperty::IS_STATIC);
12printModifiers(ReflectionProperty::IS_PUBLIC | ReflectionProperty::IS_READONLY);
13printModifiers(ReflectionClass::IS_EXPLICIT_ABSTRACT);
14printModifiers(ReflectionMethod::IS_ABSTRACT | ReflectionMethod::IS_FINAL);
15printModifiers(ReflectionProperty::IS_PUBLIC | ReflectionProperty::IS_STATIC | ReflectionProperty::IS_READONLY);
16printModifiers(ReflectionClass::IS_READONLY);
17?>
18--EXPECT--
19private
20protected,static
21public,readonly
22abstract
23abstract,final
24public,static,readonly
25readonly
26