summaryrefslogtreecommitdiff
path: root/ext/reflection
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2016-11-14 18:20:45 +0000
committerAndrea Faulds <ajf@ajf.me>2016-11-14 18:20:45 +0000
commita0502b89a65d24eb191a7c85bcffcf9b91454735 (patch)
treee40f7d1cf796b71b4d137939623ef6e32041665b /ext/reflection
parent531eedf38ffe127e80c4286588212211b59d4db6 (diff)
downloadphp-git-a0502b89a65d24eb191a7c85bcffcf9b91454735.tar.gz
Convert numeric keys in object/array casts
RFC: https://wiki.php.net/rfc/convert_numeric_keys_in_object_array_casts This converts key types as appropriate in object to array and array to object casts, as well as in get_object_vars().
Diffstat (limited to 'ext/reflection')
-rw-r--r--ext/reflection/tests/bug61388.phpt6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/reflection/tests/bug61388.phpt b/ext/reflection/tests/bug61388.phpt
index 75c0300151..3d6dc83fa0 100644
--- a/ext/reflection/tests/bug61388.phpt
+++ b/ext/reflection/tests/bug61388.phpt
@@ -25,6 +25,12 @@ Array
(
[0] => ReflectionProperty Object
(
+ [name] => 0
+ [class] => stdClass
+ )
+
+ [1] => ReflectionProperty Object
+ (
[name] => oo
[class] => stdClass
)