From: Christoph M. Becker Date: Tue, 24 Sep 2019 14:20:18 +0000 (+0200) Subject: [ci skip] Update UPGRADING.INTERNALS X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=652c09ecf77b8d98dd0857507b36419ef019e56d;p=php [ci skip] Update UPGRADING.INTERNALS Cf. . --- diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 95c6285976..83c8c5a523 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -9,6 +9,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES f. Arginfo argument types g. zend_free_op type and should_free argument of zend_get_zval_ptr() h. zend_value_error() + i. get_closure() object handler 2. Build system changes a. Abstract @@ -71,6 +72,10 @@ PHP 8.0 INTERNALS UPGRADE NOTES to raise ValueError when inappropriate argument values are passed to functions. + i. get_closure() object handlers now accept an additional zend_bool parameter + `check_only`. If it is true, the handler is called to check whether the + object is callable; in this case the handler should not throw an exception. + ======================== 2. Build system changes ========================