summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-12-04 08:07:59 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-12-04 08:07:59 +0100
commit9533a815d50df3f916b133ca7d9885c3d0d8ff92 (patch)
tree14915517c77be8846b60d77fbf7bfac1f86f032b
parent39b08ba99ccaee881055382f3c73c80e5181c186 (diff)
downloadphp-git-9533a815d50df3f916b133ca7d9885c3d0d8ff92.tar.gz
Add ReflectionMethod::getClosure() change to UPGRADING
Fixes bug #78897. [ci skip]
-rw-r--r--UPGRADING5
1 files changed, 5 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index d9b46f2c38..3932b32e3c 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -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