[php-src] PR #14409: Remove hash dependency from session extension

From: Date: Sat, 01 Jun 2024 13:15:00 +0000
Subject: [php-src] PR #14409: Remove hash dependency from session extension
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26441@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14409 Author: petk The session extension once depended on the hash extension for having hash functions available when using the session.hash_function INI directive. This directive was removed in PHP-7.1 via 3467526a65bfb15eaf9ec49a0b5673b84e26bca4. At the time it could be marked as optional dependency, because it only needed to be loaded before the session in that case. The removed ext/hash/php_hash.h in the ext/session/php_session.h might cause BC break for PHP extensions if they rely on transitive include and use hash extension in the code without explicitly including the ext/hash/php_hash.h header. Solution is to include the ext/hash/php_hash.h separately. I'm just checking the CI if this is the case, but ext/hash doesn't seem to be needed in ext/session...

« previous php.git-pulls (#26441) next »