diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-06 13:05:11 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-17 11:46:28 +0200 |
commit | 4d90848d68c4e9a07f8c687f781ae8843d4f64d3 (patch) | |
tree | b66351de514352ebc031b5a8b0a92464b3e5f5e9 /UPGRADING.INTERNALS | |
parent | be6c083f28c27a3db1456edaa3be38063d4e7bc9 (diff) | |
download | php-git-4d90848d68c4e9a07f8c687f781ae8843d4f64d3.tar.gz |
Don't verify arginfo types for internal functions
To avoid duplicate type checks. In debug builds arginfo is still
checked and will generate an assertions if the function doesn't
subsequently throw an exception.
Some test results change due to differences in zpp and arginfo
error messages.
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r-- | UPGRADING.INTERNALS | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 2fa3a8d80d..2608c3cd62 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -6,6 +6,7 @@ PHP 8.0 INTERNALS UPGRADE NOTES c. TSRM changes d. get() and set() object handlers e. zend_parse_parameters 'L' specifier + f. Arginfo argument types 2. Build system changes a. Abstract @@ -52,6 +53,10 @@ PHP 8.0 INTERNALS UPGRADE NOTES family of macros have been removed. Use 'l' and Z_PARAM_LONG() instead, which, despite the confusing name, actually have stricter input validation. + f. Arginfo argument types for internal functions are no longer checked. + Instead type checks should be performed using the zend_parse_parameters() + or ZEND_PARSE_PARAMETERS_*() APIs. + ======================== 2. Build system changes ======================== |