diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-12-04 08:07:59 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-12-04 08:07:59 +0100 |
commit | 9533a815d50df3f916b133ca7d9885c3d0d8ff92 (patch) | |
tree | 14915517c77be8846b60d77fbf7bfac1f86f032b | |
parent | 39b08ba99ccaee881055382f3c73c80e5181c186 (diff) | |
download | php-git-9533a815d50df3f916b133ca7d9885c3d0d8ff92.tar.gz |
Add ReflectionMethod::getClosure() change to UPGRADING
Fixes bug #78897.
[ci skip]
-rw-r--r-- | UPGRADING | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -110,6 +110,11 @@ PHP 7.4 UPGRADE NOTES to serialize them. Serialization for reflection objects was never supported and resulted in corrupted reflection objects. It has been explicitly prohibited now. + . The signature of the ReflectionMethod::getClosure() method changed to + account for existing behavior with static methods: + Before: ReflectionMethod::getClosure($object) + After: ReflectionMethod::getClosure($object = null) + The new signature is also (LSP) compatible with older PHP versions. - SPL: . Calling get_object_vars() on an ArrayObject instance will now always return |