get_declared_traits_002.phpt   [plain text]


--TEST--
Testing get_declared_traits() inside namespace
--FILE--
<?php

namespace test {
	class a { }
	interface b { }
	trait c { }
	abstract class d { }
	final class e { }
	var_dump(get_declared_traits());
}

?>
--EXPECT--
array(1) {
  [0]=>
  string(6) "test\c"
}