com php-src: Merge branch 'PHP-7.4' into PHP-8.0: NEWS Zend/tests/closure_061.phpt Zend/zend_closures. c

From: Date: Mon, 16 Nov 2020 13:34:28 +0000
Subject: com php-src: Merge branch 'PHP-7.4' into PHP-8.0: NEWS Zend/tests/closure_061.phpt Zend/zend_closures. c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-114150@lists.php.net to get a copy of this message
Commit: c351768e4f6f7061669723fee83c085e631f30d5 Author: Christoph M. Becker <cmbecker69@gmx.de> Mon, 16 Nov 2020 14:33:45 +0100 Parents: e3c63de05b938c1adedbcfe169abc1b46f7f1e93 78773890f6b0d82b29e0b869f3f3b22174cea217 Branches: PHP-8.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c351768e4f6f7061669723fee83c085e631f30d5 Log: Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Fix #74558: Can't rebind closure returned by Closure::fromCallable() Bugs: https://bugs.php.net/74558 Changed paths: MM NEWS MM Zend/tests/closure_061.phpt MM Zend/zend_closures.c Diff: diff --cc NEWS index dca15b5ccff,747a354855e..d22439251f3 --- a/NEWS +++ b/NEWS @@@ -1,12 -1,24 +1,15 @@@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| -?? ??? ????, PHP 7.4.14 +?? ??? ????, PHP 8.0.0 + - Core: + . Fixed bug #74558 (Can't rebind closure returned by Closure::fromCallable()). + (cmb) -26 Nov 2020, PHP 7.4.13 +12 Nov 2020, PHP 8.0.0RC4 - Core: - . Fixed bug #80280 (ADD_EXTENSION_DEP() fails for ext/standard and ext/date). - (cmb) - . Fixed bug #80258 (Windows Deduplication Enabled, randon permission errors). - (cmb) - -- COM: - . Fixed bug #62474 (com_event_sink crashes on certain arguments). (cmb) - -- DOM: - . Fixed bug #80268 (loadHTML() truncates at NUL bytes). (cmb) + . Fixed bug #80334 (assert() vs named parameters - confusing error). (Nikita) - FFI: . Fixed bug #79177 (FFI doesn't handle well PHP exceptions within callback). diff --cc Zend/tests/closure_061.phpt index 2c574c49c01,41863fd0c0e..240f22e036e --- a/Zend/tests/closure_061.phpt +++ b/Zend/tests/closure_061.phpt @@@ -208,16 -210,16 +208,16 @@@ bindTo(new ClsUnrelated, SplDoublyLinke Cannot bind method SplDoublyLinkedList::count() to object of class ClsUnrelated bindTo(null, null): -Cannot unbind $this of internal method +Cannot unbind $this of method bindTo(null, SplDoublyLinkedList::class): -Cannot unbind $this of internal method +Cannot unbind $this of method bindTo(new SplDoublyLinkedList, null): - Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() + Cannot rebind scope of closure created from method bindTo(new SplDoublyLinkedList, ClsUnrelated::class): - Cannot rebind scope of closure created by ReflectionFunctionAbstract::getClosure() + Cannot rebind scope of closure created from method (function() {})() -----------------

« previous php.cvs (#114150) next »