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