From 0afccbaea3df583fc1a8c4ebe51840e6e2efa6be Mon Sep 17 00:00:00 2001 From: henderkes Date: Tue, 1 Dec 2026 10:06:45 +0700 Subject: [PATCH] update current thread locale on php thread creation --- frankenphp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/frankenphp.c b/frankenphp.c index 8783c18ec8..a1e02df16e 100644 --- a/frankenphp.c +++ b/frankenphp.c @@ -1930,6 +1930,7 @@ static void *php_thread(void *arg) { #ifdef PHP_WIN32 ZEND_TSRMLS_CACHE_UPDATE(); #endif + zend_update_current_locale(); frankenphp_init_date_globals(); #endif