diff options
author | Andrea Faulds <ajf@ajf.me> | 2016-11-14 18:20:45 +0000 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2016-11-14 18:20:45 +0000 |
commit | a0502b89a65d24eb191a7c85bcffcf9b91454735 (patch) | |
tree | e40f7d1cf796b71b4d137939623ef6e32041665b /ext/reflection | |
parent | 531eedf38ffe127e80c4286588212211b59d4db6 (diff) | |
download | php-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.phpt | 6 |
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 ) |