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