1--TEST--
2ReflectionExtension::getClasses();
3--CREDITS--
4Thijs Lensselink <tl@lenss.nl>
5--FILE--
6<?php
7$ext = new ReflectionExtension('reflection');
8var_dump($ext->getClasses());
9?>
10--EXPECTF--
11array(26) {
12  ["ReflectionException"]=>
13  object(ReflectionClass)#%d (1) {
14    ["name"]=>
15    string(19) "ReflectionException"
16  }
17  ["Reflection"]=>
18  object(ReflectionClass)#%d (1) {
19    ["name"]=>
20    string(10) "Reflection"
21  }
22  ["Reflector"]=>
23  object(ReflectionClass)#%d (1) {
24    ["name"]=>
25    string(9) "Reflector"
26  }
27  ["ReflectionFunctionAbstract"]=>
28  object(ReflectionClass)#%d (1) {
29    ["name"]=>
30    string(26) "ReflectionFunctionAbstract"
31  }
32  ["ReflectionFunction"]=>
33  object(ReflectionClass)#%d (1) {
34    ["name"]=>
35    string(18) "ReflectionFunction"
36  }
37  ["ReflectionGenerator"]=>
38  object(ReflectionClass)#%d (1) {
39    ["name"]=>
40    string(19) "ReflectionGenerator"
41  }
42  ["ReflectionParameter"]=>
43  object(ReflectionClass)#%d (1) {
44    ["name"]=>
45    string(19) "ReflectionParameter"
46  }
47  ["ReflectionType"]=>
48  object(ReflectionClass)#%d (1) {
49    ["name"]=>
50    string(14) "ReflectionType"
51  }
52  ["ReflectionNamedType"]=>
53  object(ReflectionClass)#%d (1) {
54    ["name"]=>
55    string(19) "ReflectionNamedType"
56  }
57  ["ReflectionUnionType"]=>
58  object(ReflectionClass)#%d (1) {
59    ["name"]=>
60    string(19) "ReflectionUnionType"
61  }
62  ["ReflectionIntersectionType"]=>
63  object(ReflectionClass)#%d (1) {
64    ["name"]=>
65    string(26) "ReflectionIntersectionType"
66  }
67  ["ReflectionMethod"]=>
68  object(ReflectionClass)#%d (1) {
69    ["name"]=>
70    string(16) "ReflectionMethod"
71  }
72  ["ReflectionClass"]=>
73  object(ReflectionClass)#%d (1) {
74    ["name"]=>
75    string(15) "ReflectionClass"
76  }
77  ["ReflectionObject"]=>
78  object(ReflectionClass)#%d (1) {
79    ["name"]=>
80    string(16) "ReflectionObject"
81  }
82  ["ReflectionProperty"]=>
83  object(ReflectionClass)#%d (1) {
84    ["name"]=>
85    string(18) "ReflectionProperty"
86  }
87  ["ReflectionClassConstant"]=>
88  object(ReflectionClass)#%d (1) {
89    ["name"]=>
90    string(23) "ReflectionClassConstant"
91  }
92  ["ReflectionExtension"]=>
93  object(ReflectionClass)#%d (1) {
94    ["name"]=>
95    string(19) "ReflectionExtension"
96  }
97  ["ReflectionZendExtension"]=>
98  object(ReflectionClass)#%d (1) {
99    ["name"]=>
100    string(23) "ReflectionZendExtension"
101  }
102  ["ReflectionReference"]=>
103  object(ReflectionClass)#%d (1) {
104    ["name"]=>
105    string(19) "ReflectionReference"
106  }
107  ["ReflectionAttribute"]=>
108  object(ReflectionClass)#%d (1) {
109    ["name"]=>
110    string(19) "ReflectionAttribute"
111  }
112  ["ReflectionEnum"]=>
113  object(ReflectionClass)#%d (1) {
114    ["name"]=>
115    string(14) "ReflectionEnum"
116  }
117  ["ReflectionEnumUnitCase"]=>
118  object(ReflectionClass)#%d (1) {
119    ["name"]=>
120    string(22) "ReflectionEnumUnitCase"
121  }
122  ["ReflectionEnumBackedCase"]=>
123  object(ReflectionClass)#%d (1) {
124    ["name"]=>
125    string(24) "ReflectionEnumBackedCase"
126  }
127  ["ReflectionFiber"]=>
128  object(ReflectionClass)#%d (1) {
129    ["name"]=>
130    string(15) "ReflectionFiber"
131  }
132  ["ReflectionConstant"]=>
133  object(ReflectionClass)#%d (1) {
134    ["name"]=>
135    string(18) "ReflectionConstant"
136  }
137  ["PropertyHookType"]=>
138  object(ReflectionEnum)#%d (1) {
139    ["name"]=>
140    string(16) "PropertyHookType"
141  }
142}
143