1--TEST--
2Modifiers
3--CREDITS--
4Robin Fernandes <robinf@php.net>
5Steve Seear <stevseea@php.net>
6--FILE--
7<?php
8abstract class A {}
9class B extends A {}
10class C {}
11final class D {}
12interface I {}
13
14$classes = array("A", "B", "C", "D", "I");
15
16foreach ($classes as $class) {
17	$rc = new ReflectionClass($class);
18	var_dump($rc->isFinal());
19	var_dump($rc->isInterface());
20	var_dump($rc->isAbstract());
21	var_dump($rc->getModifiers());
22}
23?>
24--EXPECT--
25bool(false)
26bool(false)
27bool(true)
28int(64)
29bool(false)
30bool(false)
31bool(false)
32int(0)
33bool(false)
34bool(false)
35bool(false)
36int(0)
37bool(true)
38bool(false)
39bool(false)
40int(32)
41bool(false)
42bool(true)
43bool(false)
44int(0)
45