From: Anatol Belski Date: Sun, 13 Dec 2020 15:50:22 +0000 (+0100) Subject: UPGRADING.INTERNALS: Document hash init signature changes [ci skip] X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffcc93e3e51bb6954d4862935dbe54436a04211d;p=php UPGRADING.INTERNALS: Document hash init signature changes [ci skip] Signed-off-by: Anatol Belski --- diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 3e2aeb70a4..c1ddd4fad2 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -5,6 +5,7 @@ PHP 8.1 INTERNALS UPGRADE NOTES 2. Build system changes 3. Module changes + a. ext/hash ======================== 1. Internal API changes @@ -17,3 +18,10 @@ PHP 8.1 INTERNALS UPGRADE NOTES ======================== 3. Module changes ======================== + + a. ext/hash + - The init signatures are extended with an additional `HashTable*` + argument. The passed HT is to contain the algorithm specific + configuration. If the an algorithm doesn't make use of any + additional configuration, the argument is to be marked with + ZEND_ATTRIBUTE_UNUSED.