1--TEST--
2ReflectionClass::getModifiers()
3--CREDITS--
4Felix De Vliegher <felix.devliegher@gmail.com>
5--FILE--
6<?php
7
8class a {}
9abstract class b {}
10final class c {}
11interface d {}
12class e implements d {}
13interface f extends d {}
14class g extends b {}
15
16function dump_modifiers($class) {
17	$obj = new ReflectionClass($class);
18	var_dump($obj->getModifiers());
19}
20
21dump_modifiers('a');
22dump_modifiers('b');
23dump_modifiers('c');
24dump_modifiers('d');
25dump_modifiers('e');
26dump_modifiers('f');
27dump_modifiers('g');
28
29?>
30--EXPECT--
31int(0)
32int(64)
33int(32)
34int(0)
35int(0)
36int(0)
37int(0)
38