1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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
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 \