summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Beccati <mbeccati@php.net>2015-05-15 06:52:04 +0200
committerMatteo Beccati <mbeccati@php.net>2015-05-15 06:52:04 +0200
commit3bbe81286d24a4e8ae9c5a838e45148b23cf1df5 (patch)
tree1017e5cfe1ead3895f0d92965d36a7838885b3b8
parenta4640457263e2e6abaa2df3c66fae89ccca9257f (diff)
downloadphp-git-3bbe81286d24a4e8ae9c5a838e45148b23cf1df5.tar.gz
Updated test to include ReflectionGenerator
-rw-r--r--ext/reflection/tests/ReflectionExtension_getClasses_basic.phpt21
1 files changed, 13 insertions, 8 deletions
diff --git a/ext/reflection/tests/ReflectionExtension_getClasses_basic.phpt b/ext/reflection/tests/ReflectionExtension_getClasses_basic.phpt
index 876109001c..508f73ee55 100644
--- a/ext/reflection/tests/ReflectionExtension_getClasses_basic.phpt
+++ b/ext/reflection/tests/ReflectionExtension_getClasses_basic.phpt
@@ -9,7 +9,7 @@ var_dump($ext->getClasses());
?>
==DONE==
--EXPECT--
-array(12) {
+array(13) {
["ReflectionException"]=>
object(ReflectionClass)#2 (1) {
["name"]=>
@@ -35,38 +35,43 @@ array(12) {
["name"]=>
string(18) "ReflectionFunction"
}
- ["ReflectionParameter"]=>
+ ["ReflectionGenerator"]=>
object(ReflectionClass)#7 (1) {
["name"]=>
+ string(19) "ReflectionGenerator"
+ }
+ ["ReflectionParameter"]=>
+ object(ReflectionClass)#8 (1) {
+ ["name"]=>
string(19) "ReflectionParameter"
}
["ReflectionMethod"]=>
- object(ReflectionClass)#8 (1) {
+ object(ReflectionClass)#9 (1) {
["name"]=>
string(16) "ReflectionMethod"
}
["ReflectionClass"]=>
- object(ReflectionClass)#9 (1) {
+ object(ReflectionClass)#10 (1) {
["name"]=>
string(15) "ReflectionClass"
}
["ReflectionObject"]=>
- object(ReflectionClass)#10 (1) {
+ object(ReflectionClass)#11 (1) {
["name"]=>
string(16) "ReflectionObject"
}
["ReflectionProperty"]=>
- object(ReflectionClass)#11 (1) {
+ object(ReflectionClass)#12 (1) {
["name"]=>
string(18) "ReflectionProperty"
}
["ReflectionExtension"]=>
- object(ReflectionClass)#12 (1) {
+ object(ReflectionClass)#13 (1) {
["name"]=>
string(19) "ReflectionExtension"
}
["ReflectionZendExtension"]=>
- object(ReflectionClass)#13 (1) {
+ object(ReflectionClass)#14 (1) {
["name"]=>
string(23) "ReflectionZendExtension"
}