summaryrefslogtreecommitdiff
path: root/ext/reflection/tests
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2017-05-31 11:44:53 -0700
committerSara Golemon <pollita@php.net>2017-05-31 12:08:07 -0700
commitc1500f8519aded29c3632de4240fbc0a4e485a81 (patch)
treea2655ffeca48b3c58645b9af4e40b5c9418646fc /ext/reflection/tests
parentfc1ae1d1d3b1752c581e258fd3fcc3a184631baa (diff)
downloadphp-git-c1500f8519aded29c3632de4240fbc0a4e485a81.tar.gz
Rename ReflectionClass::isIterateable() to isIterable()
Iterateable is not a word. Add the correct spelling, but keep the original one around for BC purposes. Perhaps we can add ZEND_ACC_DEPRECATED at some later date and even remove it from PHP 8.
Diffstat (limited to 'ext/reflection/tests')
-rw-r--r--ext/reflection/tests/ReflectionClass_toString_001.phpt8
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/reflection/tests/ReflectionClass_toString_001.phpt b/ext/reflection/tests/ReflectionClass_toString_001.phpt
index 2b185db57d..5a2b497905 100644
--- a/ext/reflection/tests/ReflectionClass_toString_001.phpt
+++ b/ext/reflection/tests/ReflectionClass_toString_001.phpt
@@ -34,7 +34,7 @@ Class [ <internal:Reflection> class ReflectionClass implements Reflector ] {
Property [ <default> public $name ]
}
- - Methods [52] {
+ - Methods [53] {
Method [ <internal:Reflection> final private method __clone ] {
- Parameters [0] {
@@ -323,6 +323,12 @@ Class [ <internal:Reflection> class ReflectionClass implements Reflector ] {
}
}
+ Method [ <internal:Reflection> public method isIterable ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:Reflection> public method isIterateable ] {
- Parameters [0] {