diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2017-10-30 22:00:42 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-10-30 22:00:42 +0100 |
commit | cb2884679c25a40fb6edbccc598411dcf0cff9bc (patch) | |
tree | cd8cae8d88ce616a3eeac377166377cd7afe2387 /UPGRADING.INTERNALS | |
parent | fcc08ce19f39f7ab1381ecc8a010037d41819329 (diff) | |
download | php-git-cb2884679c25a40fb6edbccc598411dcf0cff9bc.tar.gz |
Remove zend_get_parameters(_ex) APIs
zend_get_parameters_ex() has been marked as deprecated for a long
time already. What zend_get_paramers() does is even more
questionable under PHP7. Both functions are obsoleted by the ZPP
mechanism, so I'm dropping them.
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r-- | UPGRADING.INTERNALS | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 65ea83b603..b36e45fc9d 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -15,6 +15,7 @@ PHP 7.2 INTERNALS UPGRADE NOTES l. HASH_FLAG_PERSISTENT m. AST and IS_CONSTANT n. GC_REFCOUNT() + o. zend_get_parameters() 2. Build system changes a. Unix build system changes @@ -100,7 +101,7 @@ PHP 7.2 INTERNALS UPGRADE NOTES attributes are used instead of constant flags. IS_TYPE_CONSTANT flag is removed, but Z_CONSTANT() macro is kept for compatibility. - m. GC_REFCOUNT() is turned into inline function and can't be modified direcly. + n. GC_REFCOUNT() is turned into inline function and can't be modified direcly. All reference-counting operations should be done through corresponding macros GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF(). @@ -108,6 +109,9 @@ PHP 7.2 INTERNALS UPGRADE NOTES GC_REFCOUNT(p)-- into GC_DELREF(p), GC_REFCOUNT(p) = 1 into GC_SET_REFCOUNT(p, 1). + o. The zend_get_parameters() and zend_get_parameters_ex() functions were + removed. Instead zend_parse_parameters() should be used. + ======================== 2. Build system changes ======================== |