[php-src] master: Merge branch 'PHP-8.6'

From: Date: Fri, 16 Oct 2026 15:25:05 +0000
Subject: [php-src] master: Merge branch 'PHP-8.6'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-142352@lists.php.net to get a copy of this message
Author: Weilin Du (LamentXU123) Date: 2026-10-16T23:19:16+08:00 Commit: https://github.com/php/php-src/commit/3c6e28f46b372f88a8ebe01aad65cf986bd9270e Raw diff: https://github.com/php/php-src/commit/3c6e28f46b372f88a8ebe01aad65cf986bd9270e.diff Merge branch 'PHP-8.6' * PHP-8.6: Fix GH-24350: Stale external tz database read after module restart (#24354) Changed paths: M ext/date/php_date.c Diff: diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 32b0b0b15cda..1f052d8a2e46 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -449,13 +449,14 @@ ZEND_MODULE_POST_ZEND_DEACTIVATE_D(date) /* {{{ PHP_MINIT_FUNCTION */ PHP_MINIT_FUNCTION(date) { + php_date_global_timezone_db = NULL; + php_date_global_timezone_db_enabled = 0; + REGISTER_INI_ENTRIES(); date_register_classes(); register_php_date_symbols(module_number); PHP_MINIT(date_time)(INIT_FUNC_ARGS_PASSTHRU); - php_date_global_timezone_db = NULL; - php_date_global_timezone_db_enabled = 0; DATEG(last_errors) = NULL; return SUCCESS; }

« previous php.cvs (#142352) next »