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--EXPECT--
11array(19) {
12  ["ReflectionException"]=>
13  object(ReflectionClass)#2 (1) {
14    ["name"]=>
15    string(19) "ReflectionException"
16  }
17  ["Reflection"]=>
18  object(ReflectionClass)#3 (1) {
19    ["name"]=>
20    string(10) "Reflection"
21  }
22  ["Reflector"]=>
23  object(ReflectionClass)#4 (1) {
24    ["name"]=>
25    string(9) "Reflector"
26  }
27  ["ReflectionFunctionAbstract"]=>
28  object(ReflectionClass)#5 (1) {
29    ["name"]=>
30    string(26) "ReflectionFunctionAbstract"
31  }
32  ["ReflectionFunction"]=>
33  object(ReflectionClass)#6 (1) {
34    ["name"]=>
35    string(18) "ReflectionFunction"
36  }
37  ["ReflectionGenerator"]=>
38  object(ReflectionClass)#7 (1) {
39    ["name"]=>
40    string(19) "ReflectionGenerator"
41  }
42  ["ReflectionParameter"]=>
43  object(ReflectionClass)#8 (1) {
44    ["name"]=>
45    string(19) "ReflectionParameter"
46  }
47  ["ReflectionType"]=>
48  object(ReflectionClass)#9 (1) {
49    ["name"]=>
50    string(14) "ReflectionType"
51  }
52  ["ReflectionNamedType"]=>
53  object(ReflectionClass)#10 (1) {
54    ["name"]=>
55    string(19) "ReflectionNamedType"
56  }
57  ["ReflectionUnionType"]=>
58  object(ReflectionClass)#11 (1) {
59    ["name"]=>
60    string(19) "ReflectionUnionType"
61  }
62  ["ReflectionMethod"]=>
63  object(ReflectionClass)#12 (1) {
64    ["name"]=>
65    string(16) "ReflectionMethod"
66  }
67  ["ReflectionClass"]=>
68  object(ReflectionClass)#13 (1) {
69    ["name"]=>
70    string(15) "ReflectionClass"
71  }
72  ["ReflectionObject"]=>
73  object(ReflectionClass)#14 (1) {
74    ["name"]=>
75    string(16) "ReflectionObject"
76  }
77  ["ReflectionProperty"]=>
78  object(ReflectionClass)#15 (1) {
79    ["name"]=>
80    string(18) "ReflectionProperty"
81  }
82  ["ReflectionClassConstant"]=>
83  object(ReflectionClass)#16 (1) {
84    ["name"]=>
85    string(23) "ReflectionClassConstant"
86  }
87  ["ReflectionExtension"]=>
88  object(ReflectionClass)#17 (1) {
89    ["name"]=>
90    string(19) "ReflectionExtension"
91  }
92  ["ReflectionZendExtension"]=>
93  object(ReflectionClass)#18 (1) {
94    ["name"]=>
95    string(23) "ReflectionZendExtension"
96  }
97  ["ReflectionReference"]=>
98  object(ReflectionClass)#19 (1) {
99    ["name"]=>
100    string(19) "ReflectionReference"
101  }
102  ["ReflectionAttribute"]=>
103  object(ReflectionClass)#20 (1) {
104    ["name"]=>
105    string(19) "ReflectionAttribute"
106  }
107}
108