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);
17printModifiers(ReflectionProperty::IS_VIRTUAL);
18?>
19--EXPECT--
20private
21protected,static
22public,readonly
23abstract
24abstract,final
25public,static,readonly
26readonly
27virtual
28