com php-src: Add ReflectionMethod::getClosure() change to UPGRADING: UPGRADING

From: Date: Wed, 04 Dec 2019 07:07:59 +0000
Subject: com php-src: Add ReflectionMethod::getClosure() change to UPGRADING: UPGRADING
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-109370@lists.php.net to get a copy of this message
Commit: 9533a815d50df3f916b133ca7d9885c3d0d8ff92 Author: Nikita Popov <nikita.ppv@gmail.com> Wed, 4 Dec 2019 08:07:59 +0100 Parents: 39b08ba99ccaee881055382f3c73c80e5181c186 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9533a815d50df3f916b133ca7d9885c3d0d8ff92 Log: Add ReflectionMethod::getClosure() change to UPGRADING Fixes bug #78897. [ci skip] Bugs: https://bugs.php.net/78897 Changed paths: M UPGRADING Diff: diff --git a/UPGRADING b/UPGRADING index d9b46f2c381..3932b32e3ce 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

« previous php.cvs (#109370) next »