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--
16%astring(1) "a"
17  [%d]=>
18  string(1) "d"
19  [%d]=>
20  string(1) "e"
21}
22array(1) {
23  [0]=>
24  string(1) "c"
25}
26