Address deprecated PHP 8.4 session options to prevent test failures

Closes GH-18179.
This commit is contained in:
William Varmus 2025-03-29 18:46:08 +08:00 committed by Niels Dossche
parent 20324388a4
commit aa7c8a9de0
No known key found for this signature in database
GPG key ID: B8A8AD166DF0E2E5
2 changed files with 5 additions and 1 deletions

4
NEWS
View file

@ -15,6 +15,10 @@ PHP NEWS
. Fixed bug GH-18145 (php8ts crashes in php_clear_stat_cache()).
(Jakub Zelenka)
- Tests:
. Address deprecated PHP 8.4 session options to prevent test failures.
(willvar)
10 Apr 2025, PHP 8.4.6
- BCMath:

View file

@ -89,7 +89,7 @@ PHP_TEST_SHARED_EXTENSIONS = ` \
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d zend_extension=$(top_builddir)/modules/$$dlname"; \
done; \
fi`
PHP_DEPRECATED_DIRECTIVES_REGEX = '^(magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
PHP_DEPRECATED_DIRECTIVES_REGEX = '^(magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?|session\.sid_(length|bits_per_character))[\t\ ]*='
test: all
@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \