1--TEST--
2Testing get_declared_classes() and get_declared_traits()
3--FILE--
4<?php
5
6class a { }
7interface b { }
8trait c { }
9abstract class d { }
10final class e { }
11var_dump(get_declared_classes());
12var_dump(get_declared_traits());
13
14?>
15--EXPECTF--
16array(%d) {%A
17  [%d]=>
18  string(1) "a"
19  [%d]=>
20  string(1) "d"
21  [%d]=>
22  string(1) "e"
23}
24array(%d) {%A
25  [%d]=>
26  string(1) "c"
27}
28