123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- --TEST--
- ReflectionClass and Traits
- --FILE--
- <?php
- abstract class foo {
- }
- trait bar {
- }
- echo new ReflectionClass('foo'), "\n";
- echo new ReflectionClass('bar'), "\n";
- ?>
- --EXPECTF--
- Class [ <user> abstract class foo ] {
- @@ %s 3-4
- - Constants [0] {
- }
- - Static properties [0] {
- }
- - Static methods [0] {
- }
- - Properties [0] {
- }
- - Methods [0] {
- }
- }
- Trait [ <user> trait bar ] {
- @@ %s 6-8
- - Constants [0] {
- }
- - Static properties [0] {
- }
- - Static methods [0] {
- }
- - Properties [0] {
- }
- - Methods [0] {
- }
- }
|