Skip to content

Commit aa7c8a9

Browse files
willvarnielsdos
authored andcommitted
Address deprecated PHP 8.4 session options to prevent test failures
Closes GH-18179.
1 parent 2032438 commit aa7c8a9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ PHP NEWS
1515
. Fixed bug GH-18145 (php8ts crashes in php_clear_stat_cache()).
1616
(Jakub Zelenka)
1717

18+
- Tests:
19+
. Address deprecated PHP 8.4 session options to prevent test failures.
20+
(willvar)
21+
1822
10 Apr 2025, PHP 8.4.6
1923

2024
- BCMath:

build/Makefile.global

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ PHP_TEST_SHARED_EXTENSIONS = ` \
8989
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d zend_extension=$(top_builddir)/modules/$$dlname"; \
9090
done; \
9191
fi`
92-
PHP_DEPRECATED_DIRECTIVES_REGEX = '^(magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\ ]*='
92+
PHP_DEPRECATED_DIRECTIVES_REGEX = '^(magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?|session\.sid_(length|bits_per_character))[\t\ ]*='
9393

9494
test: all
9595
@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \

0 commit comments

Comments
 (0)