mirror of
https://github.com/php/php-src.git
synced 2026-04-20 14:31:06 +02:00
Add ReflectionMethod::getClosure() change to UPGRADING
Fixes bug #78897. [ci skip]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user