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