1--TEST-- 2ReflectionClass and Traits 3--FILE-- 4<?php 5 6abstract class foo { 7} 8 9trait bar { 10 11} 12 13reflectionclass::export('foo'); 14reflectionclass::export('bar'); 15 16?> 17--EXPECTF-- 18Class [ <user> abstract class foo ] { 19 @@ %s 3-4 20 21 - Constants [0] { 22 } 23 24 - Static properties [0] { 25 } 26 27 - Static methods [0] { 28 } 29 30 - Properties [0] { 31 } 32 33 - Methods [0] { 34 } 35} 36 37Trait [ <user> trait bar ] { 38 @@ %s 6-8 39 40 - Constants [0] { 41 } 42 43 - Static properties [0] { 44 } 45 46 - Static methods [0] { 47 } 48 49 - Properties [0] { 50 } 51 52 - Methods [0] { 53 } 54} 55